Ld (Load Word Data In Memory To Register) - Fujitsu FR Family Instruction Manual

32-bit microcontroller
Hide thumbs Also See for FR Family:
Table of Contents

Advertisement

7.59

LD (Load Word Data in Memory to Register)

Loads the word data at memory address "(R15 + u4 × 4)" to "Ri".
The value "u4" is an unsigned calculation.
■ LD (Load Word Data in Memory to Register)
Assembler format:
LD @ (R15, udisp6), Ri
(R15 + u4 × 4) → Ri
Operation:
Flag change:
N, Z, V, and C: Unchanged
Execution cycles:
b cycle(s)
Instruction format:
Example:
LD @ (R15, 4), R3
N
Z
V
C
MSB
0
0
0
Instruction bit pattern :
R3
x x x x
R15
1 2 3 4 5 6 7 8
12345678
Memory
1234567C
8 7 6 5 4 3 2 1
Before execution
CHAPTER 7 DETAILED EXECUTION INSTRUCTIONS
0
0
0
1
1
0000 0011 0001 0011
x x x x
LSB
u4
Ri
R3
8 7 6 5 4 3 2 1
R15
1 2 3 4 5 6 7 8
12345678
Memory
1234567C
8 7 6 5 4 3 2 1
After execution
153

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fr series

Table of Contents