MVFACHI
|
Move the high-order longword from accumulator
|
MVFACHI
|
MoVe From ACcumulator HIgh-order longword
|
[Syntax]
(2) | MVFACHI src, Asrc, dest [V2.01.00 or later] |
[Operation]
(1) | dest = (signed long) (ACC >> 32); |
tmp = (signed 72bit) Asrc << src;
dest = (signed long) (tmp >> 32); [V2.01.00 or later]
[Function]
(1) | This instruction moves the higher-order 32 bits of the accumulator (ACC) to dest. |
(2) | The MVFACHI instruction is executed according to the following procedures. |
Processing 1:
The value of the accumulator is shifted to the left by zero to two bits as specified by src.
Processing 2:
This instruction moves the contents of bits 63 to 32 of the accumulator (ACC0 or ACC1) to dest.
You can assemble assembly-language code that includes this instruction if you have specified the assembler option -isa with selection of the instruction set of the RXv2 or a later version. [V2.01.00 or later]
[Instruction Format]
|
|
|
|
|
|
(1) MVFACHI dest
|
−
|
−
|
Rd
|
|
(2) MVFACHI src, Asrc, dest
[V2.01.00 or later]
|
#IMM:2
(IMM:2 = 0 to 2)
|
A0, A1
|
Rd
|
|
Note | Specify A0 (ACC0) or A1 (ACC1) as Asrc. |
[Flag Change]
- | This instruction does not affect the states of flags. |
[Description Example]
MVFACHI R1
MVFACHI #1, A1, R1