This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Xuedong,
You don't mention which device you are working with. Can you clarify?
The C5500 devices have memory mapped stack pointer registers. The details are listed in the data manual for the device you are interested in. Is this what you are looking for?
Xuedong,
Sorry, I am not very familiar with the C6000 family. I am C5000 focused. You put your thread under C5000, so I thought you were referring to one of those devices. This thread needs to be moved to C6000 Forum. I'll see if I can get that done, or you can start another query there.
I wrote this article on how to check the various stacks using emulation features:
If you want to check the code at run-time, you can look for the watermark on the stack. The symbol __stack is created by the linker and is the end of the stack.