|ARM Technical Support Knowledge Articles|
Applies to: C166 C Compiler
Information in this article applies to:
In which memory class is the USER STACK located?
The 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.
Article last edited on: 2005-06-02 03:51:46
Did you find this article helpful? Yes No
How can we improve this article?