AcornSearch - Acorn and RISC OS information searching
RISC OS Search
containing
"Nutty quip goes here!"
Home  |  About  |  Filebase Archive  |  StrongHelp Manuals  |  Newsgroups  |  Module Database
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.

[sh-index] Back to list of manuals