Transfer between two general-purpose registers and a 40-bit
internal accumulator.
Syntax
MAR{cond} Acc, RdLo, RdHi
MRA{cond} RdLo, RdHi, Acc
where:
cond
is an optional condition code.
Acc
is the internal accumulator. The standard name is accx,where x is
an integer in the range 0 to n.
The value of n depends
on the processor. It is 0 for current processors.
RdLo, RdHi
are general-purpose registers. RdLo and RdHi must
not be the PC, and for MRA they must be different registers.
Usage
The MAR instruction copies the contents of RdLo to
bits[31:0] of Acc,
and the least significant byte of RdHi to
bits[39:32] of Acc.
The MRA instruction:
copies bits[31:0] of Acc to RdLo
copies bits[39:32] of Acc to RdHi bits[7:0]
sign extends the value by copying bit[39] of Acc to
bits[31:8] of RdHi.
Architectures
These ARM coprocessor 0 instructions are only available in
XScale processors.
There are no Thumb versions of these instructions.
This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.
ARM websites use two types of cookie: (1) those that enable the site to function and perform as required; and (2) analytical cookies which anonymously track visitors only while using the site. If you are not happy with this use of these cookies please review our Privacy Policy to learn how they can be disabled. By disabling cookies some features of the site will not work.