ARM has sixteen registers visible at any one time. They are named R0 to R15. All are 32 bits wide.
The registers may also be referred to by the following aliases:
All of the registers are general purpose, save for:
All of the registers are general purpose, save for:
R14 / LR
the link register which holds the callers’s return address.
All of the registers are general purpose, save for:
R15 / PC
which holds the program counter.
In addition to the main registers there is also a status register:
CPSR is the current program status register. This holds flags: results of arithmetic and logical operations.
Strictly R13 is used for the ____ _______ by convention, rather than a rule, in ARM mode. In Thumb mode it is more hardwired.
Strictly R13 is used for the stack pointer by convention, rather than a rule, in ARM mode. In Thumb mode it is more hardwired.
ARM is a load-store architecture: