13.70 MSR (ARM register to system coprocessor register)

Move to system coprocessor register from ARM register.

Syntax

MSR{cond} coproc_register, Rn

where:

cond
is an optional condition code.
coproc_register
is the name of the coprocessor register.
Rn
is the ARM source register. Rn must not be PC.

Usage

You can use this pseudo-instruction to write to any CP14 or CP15 coprocessor writable register. A complete list of the applicable coprocessor register names is in the ARM Architecture Reference Manual. For example:

    MSR SCTLR, R1 ; writes the contents of R1 into the CP15
                  ;  coprocessor register SCTLR

Availability

This pseudo-instruction is available in A32 and T32.

This pseudo-instruction is available in ARMv7-A and ARMv7-R in A32 and 32-bit T32 code.

There is no 16-bit version of this pseudo-instruction in T32.

Non-ConfidentialPDF file icon PDF versionARM 100069_0608_00_en
Copyright © 2014–2017 ARM Limited or its affiliates. All rights reserved.