MOVLI

Loading with LI flag set

[V2.01.00 or later]

MOVLI

MOVe LInked


[Syntax]

MOVLI src, dest

 

[Operation]

LI = 1;

dest = src;

 

[Function]

This instruction transfers the longword data in src (memory) to dest (register).

This instruction sets the LI flag along with the normal load operation.

The LI flag is cleared when the conditions below are satisfied.

When an MOVCO instruction is executed

When an RTE or RTFI instruction is executed.

The LI flag is in the inside of CPU. The bit can be accessed only by MOVCO, MOVLI, RTE or RTFI instruction.

Customer can not access the LI flag directly.

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.

 

[Instruction Format]

Syntax

Processng Size

Operand

Code Size

(Byte)

src

dest

MOVLI src, dest

L

[Rs]

Rd

3

 

[Flag Change]

This instruction does not affect the states of flags.

 

[Description Example]

MOVLI [R1], R2