beautypg.com

58 ld (load word data in memory to register), Ld (load word data in memory to register) – FUJITSU FR family 32-bit microcontroller instruction manuel CM71-00101-5E User Manual

Page 176

background image

152

CHAPTER 7 DETAILED EXECUTION INSTRUCTIONS

7.58

LD (Load Word Data in Memory to Register)

Loads the word data at memory address "(R14 + o8 × 4)" to "Ri".
The value "o8" is a signed calculation.

LD (Load Word Data in Memory to Register)

Assembler format:

LD @ (R14, disp10), Ri

Operation:

(R14 + o8 × 4)

Ri

Flag change:

N, Z, V, and C: Unchanged

Execution cycles:

b cycle(s)

Instruction format:

Example:

LD @ (R14, 4), R3

N

Z

V

C

MSB

LSB

0

0

1

0

Ri

o8

12345678

1234567C

x x x x

x x x x

1 2 3 4

5 6 7 8

R3

R14

8 7 6 5

4 3 2 1

12345678

1234567C

8 7 6 5

4 3 2 1

R3

1 2 3 4

5 6 7 8

8 7 6 5

4 3 2 1

R14

Instruction bit pattern :

0010 0000 0001 0011

Memory

Memory

Before execution

After execution