MVFACMI

Move the middle-order longword from accumulator

MVFACMI

MoVe From ACcumulator MIddle-order longword


[Syntax]

(1)

MVFACMI dest

(2)

MVFACMI src, Asrc, dest [V2.01.00 or later]

 

[Operation]

(1)

dest = (signed long) (ACC >> 16);

(2)

signed 72bit tmp;

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]

Syntax

Operand

Code Size

(Byte)

src

Asrc

dest

(1) MVFACMI dest

Rd

3

(2) MVFACMI src, Asrc, dest

[V2.01.00 or later]

#IMM:2

(IMM:2 = 0 to 2)

A0, A1

Rd

3

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