ARM VERSION 1.2 manual 2 MCR, MCR2, Mcrr, Is p n, where n is an integer in the range

Models: VERSION 1.2

1 360
Download 360 pages 38.37 Kb
Page 174
Image 174

ARM Instruction Reference

4.7.2MCR, MCR2, MCRR

Move to coprocessor from ARM registers. Depending on the coprocessor, you might be able to specify various operations in addition.

Syntax

MCR{cond} coproc, opcode1, Rd, CRn, CRm{, opcode2}

MCR2 coproc, opcode1, Rd, CRn, CRm{, opcode2}

MCRR{cond} coproc, opcode1, Rd, Rn, CRm

where:

 

cond

is an optional condition code (see Conditional execution on page 4-4).

coproc

is the name of the coprocessor the instruction is for. The standard name

 

is pn, where n is an integer in the range 0-15.

opcode1

is a coprocessor-specific opcode.

Rd, Rn

are ARM source registers. They must not be r15.

CRn, CRm

are coprocessor registers.

opcode2

is an optional coprocessor-specific opcode.

Usage

The use of these instructions depends on the coprocessor. See the coprocessor documentation for details.

Note

MCR2 is always unconditional.

Architectures

MCR is available in ARM architecture versions 2 and above.

MCR2 is available in ARM architecture versions 5 and above.

MCRR is available in E variants of ARM architecture v5 and above, excluding xP variants.

4-64

Copyright © 2000, 2001 ARM Limited. All rights reserved.

ARM DUI 0068B

Page 174
Image 174
ARM VERSION 1.2 manual 2 MCR, MCR2, Mcrr, Is p n, where n is an integer in the range