| |||
| Home > ARM and Thumb Instructions > Miscellaneous instructions > MAR and MRA | |||
XScale coprocessor 0 instructions.
Transfer between two general-purpose registers and a 40-bit internal accumulator.
MAR{cond}Acc,RdLo,RdHi
MRA{cond}RdLo,RdHi,Acc
where:
condis an optional condition code (see Conditional execution).
Accis the internal accumulator. The standard name is acc,
where x is an integer
in the range 0 to x.
The value of n depends
on the processor. It is 0 for current processors.n
RdLo, RdHiare general-purpose registers.
The MAR instruction copies the contents of to
bits[31:0] of RdLo,
and the least significant byte of Acc to
bits[39:32] of RdHi.Acc
The MRA instruction:
copies bits[31:0] of to AccRdLo
copies bits[39:32] of to Acc bits[7:0]RdHi
sign extends the value by copying bit[39] of to
bits[31:8] of Acc.RdHi
These ARM instructions are only available in XScale processors.
There are no Thumb or Thumb-2 versions of these instructions.