11.51 MAR

Transfer from two general-purpose registers to a 40-bit internal accumulator.

Syntax

MAR{cond} Acc, RdLo, RdHi

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.

Operation

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.

Architectures

The MAR ARM coprocessor 0 instruction is only available in XScale processors.

There is no Thumb version of the MAR instruction.

Examples

    MAR     acc0, r0, r1
    MARNE   acc0, r9, r2
Non-ConfidentialPDF file icon PDF versionARM DUI0473M
Copyright © 2010-2016 ARM Limited or its affiliates. All rights reserved.