This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Where is the stack?

I have a few questions that may be related.
I'm using a Cygnal C8051F021 which has 4352 bytes of XRAM. I have a c program using the LARGE memory model and am wondering how much stack I am using. I guess I mainly want to know where the stack is being placed
In my .M51 file there is the line:
IDATA 0022H 0001H UNIT ?STACK
What does this mean?
I'm not explicitly including the STARTUP.A51 but in the M51 file I see:
CODE 3416H 008CH UNIT ?C_C51STARTUP
Is this some kind of default that gets put in?
Thanks in advance for any help.

0