beautypg.com

57 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 175

background image

151

CHAPTER 7 DETAILED EXECUTION INSTRUCTIONS

7.57

LD (Load Word Data in Memory to Register)

Loads the word data at memory address "(R13 + Rj)" to "Ri".

LD (Load Word Data in Memory to Register)

Assembler format:

LD @ (R13, Rj), Ri

Operation:

(R13 + Rj)

Ri

Flag change:

N, Z, V, and C: Unchanged

Execution cycles:

b cycle(s)

Instruction format:

Example:

LD @ (R13, R2), R3

N

Z

V

C

MSB

LSB

0

0

0

0

0

0

0

0

Rj

Ri

R2

12345678

1234567C

0 0 0 0

0 0 0 4

x x x x

x x x x

1 2 3 4

5 6 7 8

R2

R3

R3

R13

8 7 6 5

4 3 2 1

8 7 6 5

4 3 2 1

0 0 0 0

0 0 0 4

12345678

1234567C

8 7 6 5

4 3 2 1

1 2 3 4

5 6 7 8

R13

Memory

Memory

Before execution

After execution

Instruction bit pattern : 0000 0000 0010 0011