mcrr2

Move to Coprocessor from Two Registers 2 (A32)

MCRR2<c> <coproc>, <opc1>, <Rt>, <Rt2>, <CRm>

Writes two registers to a coprocessor (Extension encoding).

Details

A32 coprocessor data transfer (extension encoding): writes two general-purpose registers (Rt, Rt2) to the coprocessor coproc, coprocessor register CRm, with operation code opc1. Does not modify condition flags. Execution state: A32 only; requires coprocessor support. May cause an Undefined Instruction exception if the coprocessor does not exist.

Pseudocode Operation

Coprocessor[coproc].CRm ← (Rt2 : Rt)

Example

MCRR2 p15, 0, r3, r4, c2

Encoding

Binary Layout
111111000100
Rt2
Rt
coproc
opc1
CRm
 
Format Coprocessor
Opcode 0xFC400000
Extension A32 (System)

Operands

  • coproc
    CP Num
  • Rt
    Transfer general-purpose register (load/store)
  • Rt2
    Second transfer register (load/store pair)