Which register is used as a stack pointer in cortex-m3? 2 points
a. R14
b. R15
c. R13
d. R12?
Answers
Answered by
0
R13 register is used as a stack pointer in cortex-m3.
About R-13 (Stack Pointer) :
- The stack pointer - SP - is just the main stack register of the 8086. (R 13).
- A stack segment register (SS) has been used to record information about just the memory segment that holds the current program's call stack. The current stack top is indicated by SP.
- The usual stack pointer is MSP. Whenever the CONTROL bit is 0, it is utilized in Thread mode, and in Handler mode, it is always used.
Attachments:
Similar questions