Mar{<Cond>} Acc0, Rdlo, Rdhi - Intel XScale Core Developer's Manual

Table of Contents

Advertisement

Intel XScale® Core Developer's Manual
Programming Model
Table 2-6.
MAR{<cond>} acc0, RdLo, RdHi
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9
cond
Operation: if ConditionPassed(<cond>) then
Exceptions: none
Qualifiers Condition Code
Notes:
The MAR instruction moves the value in register RdLo to bits[31:0] of the 40-bit accumulator
(acc0) and moves bits[7:0] of the value in register RdHi into bits[39:32] of acc0.
The instruction is only executed if the condition specified in the instruction matches the condition
code status.
This instruction executes in any processor mode.
Table 2-7.
MRA{<cond>} RdLo, RdHi, acc0
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9
cond
Operation: if ConditionPassed(<cond>) then
Exceptions: none
Qualifiers Condition Code
Notes:
The MRA instruction moves the 40-bit accumulator value (acc0) into two registers. Bits[31:0] of
the value in acc0 are moved into the register RdLo. Bits[39:32] of the value in acc0 are sign
extended to 32 bits and moved into the register RdHi.
The instruction is only executed if the condition specified in the instruction matches the condition
code status.
This instruction executes in any processor mode.
28
1 1 0 0 0 1 0 0
acc0[39:32] = RdHi[7:0]
acc0[31:0] = RdLo[31:0]
No condition code flags are updated
Instruction timings can be found in
Section 10.4.4, "Multiply Instruction Timings" on page 10-168
Specifying R15 as either RdHi or RdLo has unpredictable results.
1 1 0 0 0 1 0 1
RdHi[31:0] = sign_extend(acc0[39:32])
RdLo[31:0] = acc0[31:0]
No condition code flags are updated
Instruction timings can be found in
Section 10.4.4, "Multiply Instruction Timings" on page 10-168
Specifying the same register for RdHi and RdLo has unpredictable
results.
Specifying R15 as either RdHi or RdLo has unpredictable results.
January, 2004
RdHi
RdLo
0 0 0 0 0 0 0 0 0 0 0 0
RdHi
RdLo
0 0 0 0 0 0 0 0 0 0 0 0
8
7
6
5
4
3
2
1
0
8
7
6
5
4
3
2
1
0
Developer's Manual

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the XScale Core and is the answer not in the manual?

Subscribe to Our Youtube Channel

Table of Contents