beautypg.com

FUJITSU FR family 32-bit microcontroller instruction manuel CM71-00101-5E User Manual

Page 171

background image

147

CHAPTER 7 DETAILED EXECUTION INSTRUCTIONS

7.53

LDI:32 (Load Immediate 32-bit Data to Destination
Register)

Loads 1 word of immediate data to "Ri".

LDI:32 (Load Immediate 32-bit Data to Destination Register)

Assembler format:

LDI:32 #i32, Ri

Operation:

i32

Ri

Flag change:

N, Z, V, and C: Unchanged

Execution cycles:

3 cycles

Instruction format:

Example:

LDI:32 #87654321H, R3

N

Z

V

C

MSB

LSB

1

0

0

1

1

1

1

1

1

0

0

0

Ri

(n+0)

i32(higher)

i32(lower)

(n+2)

(n+4)

R3

R3

8 7 6 5

4 3 2 1

0 0 0 0

0 0 0 0

Before execution

After execution

Instruction bit pattern : 1001 1111 1000 0011

: 1000 0111 0110 0101

: 0100 0011 0010 0001