MVFACMI
|
Move the middle-order longword from accumulator
|
MVFACMI
|
MoVe From ACcumulator MIddle-order longword
|
[Syntax]
(2) | MVFACMI src, Asrc, dest [V2.01.00 or later] |
[Operation]
(1) | dest = (signed long) (ACC >> 16); |
tmp = (signed 72bit) Asrc << src;
dest = (signed long) (tmp >> 16); [V2.01.00 or later]
[Function]
(1) | This instruction moves the contents of bits 47 to 16 of the accumulator (ACC) to dest. |
(2) | The MVFACMI 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 47 to 16 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) MVFACMI dest
|
−
|
−
|
Rd
|
|
(2) MVFACMI 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]
MVFACMI R1
MVFACMI #1, A1, R1