Move the contents of a special register to a general-purpose register.
Is the general-purpose destination register.
Is one of the special-purpose registers:
MRS stores the contents of a special-purpose
register to a general-purpose register. The
can be combined with the
MSR instruction to produce
read-modify-write sequences, that are suitable for modifying a specific
flag in the PSR.
In this instruction,
not be SP or PC.
If the current mode of execution is not privileged, then the values of all registers other than the APSR read as zero.