Address Offset |
|
Reset |
– |
Physical Address |
|
Instance |
|
Description |
|
The Stack Pointer (SP) is register R13. In thread mode,
the function of this register changes depending on the ASP bit in
the Control Register (CONTROL) register. When the ASP bit is clear,
this register is the Main Stack Pointer (MSP). When the ASP bit is
set, this register is the Process Stack Pointer (PSP). On reset, the
ASP bit is clear, and the processor loads the MSP with the value
from address 0x0000 0000. The MSP can only be accessed in privileged
mode; the PSP can be accessed in either privileged or unprivileged
mode. |
Type |
R/W |