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

CHAPTER 7 DETAILED EXECUTION INSTRUCTIONS
7.60

LD (Load Word Data in Memory to Register)

Loads the word data at memory address "R15" to "Rj", and adds 4 to the value of "R15".
If "R15" is given as parameter "Ri", the value read from the memory will be loaded into
memory address "R15".
■ LD (Load Word Data in Memory to Register)
Assembler format:
LD @ R15 +, Ri
(R15) → Ri
Operation:
R15 + 4 → R15
Flag change:
N, Z, V, and C: Unchanged
Execution cycles:
b cycle(s)
Instruction format:
Example:
LD @ R15 +, R3
154
N
Z
V
C
MSB
0
0
0
Instruction bit pattern : 0000 0111 0000 0011
R3
x x x x
1 2 3 4 5 6 7 8
R15
Memory
12345678
8 7 6 5 4 3 2 1
1234567C
Before execution
0
0
1
1
1
0
x x x x
0
0
0
Ri
R3
8 7 6 5 4 3 2 1
1 2 3 4 5 6 7 C
R15
Memory
12345678
8 7 6 5 4 3 2 1
1234567C
After execution
LSB

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fr series

Table of Contents