| |||||
Technical Support Support Resources
Product Information | C166: WHERE IS THE USER STACK LOCATED?Information in this article applies to:
QUESTIONIn which memory class is the USER STACK located? ANSWERThe user stack is located in the NDATA memory class. This is defined in the startup code in START167.A66 or STARTUP.A66 as shown below:
PUBLIC ?C_USRSTKBOT
?C_USERSTACK SECTION DATA PUBLIC 'NDATA'
$IF NOT TINY
NDATA DGROUP ?C_USERSTACK
$ENDIF
?C_USRSTKBOT:
DS USTSZ ; Size of User Stack
?C_USERSTKTOP:
?C_USERSTACK ENDS
You may declare the amount of space reserved for the stack by setting the USTSZ variable in the startup code. SEE ALSOLast Reviewed: Thursday, June 02, 2005 | ||||
| |||||