mcr

Move to Coprocessor from Register (A32)

MCR<c> <coproc>, <opc1>, <Rt>, <CRn>, <CRm>{, <opc2>}

Writes a general-purpose register to a coprocessor register (e.g., CP15).

Details

The Move to Coprocessor from Register instruction writes a general-purpose register to a coprocessor register (e.g., CP15).

Pseudocode Operation

coproc ← Rt

Example

MCR p15, 0, r3, c1, c2

Encoding

Binary Layout
cond
1110
opc1
0
CRn
Rt
coproc
opc2
1
CRm
 
Format Coprocessor
Opcode 0x0E000010
Extension A32 (System)

Operands

  • coproc
    CP Num
  • Rt
    Transfer general-purpose register (load/store)
  • CRn
    Dest CP Reg