| |||
| Home > ARM and Thumb Instructions > Coprocessor instructions > MSR | |||
Move to system coprocessor register from ARM register.
MSR{cond}coproc_register,Rn
where:
condis an optional condition code.
coproc_registeris the name of the coprocessor register.
Rnis the ARM source register. Rn must
not be PC.
You can use this instruction to write to any CP14 or CP15 coprocessor writable register. A complete list of the applicable coprocessor register names is in the ARMv7-AR Architecture Reference Manual. For example:
MSR SCTLR, R1 ; writes the contents of R1 into the CP15 coprocessor register
; SCTLR
This MSR ARM instruction is available in ARMv7-A
and ARMv7-R.
This MSR 32-bit Thumb instruction is available
in ARMv7-A and ARMv7-R.
There are no 16-bit Thumb versions of these instructions.