Syntax: MRS {<cond>} <destination>, <CPSR | SPSR>
Operation: destination = CPSR or SPSR
Flags: Unaffected
This instruction moves the CPSR or SPSR into the current mode general purpose register <destination> for further manipulation.
If the destination is R15, the behaviour is unpredictable as is attempting to manipulate the SPSR from user mode.
This instruction was introduced in ARM architecture 3.
|
|
|