153
CHAPTER 7 DETAILED EXECUTION INSTRUCTIONS
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
Operation: (R15 + u4 × 4) → Ri
Flag change:
N, Z, V, and C: Unchanged
Execution cycles: b cycle(s)
Instruction format:
Example: LD @ (R15, 4), R3
NZVC
––––
MSB LSB
00000011 u4 Ri
12345678
1234567C
1234 5678
R3
R15
8765 4321
12345678
1234567C
8765 4321
R3
1234 5678
8765 4321
R15
Instruction bit pattern : 0000 0011 0001 0011
xxxx xxxx
Memory Memory
Before execution After execution