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
NZVC
––––
MSB LSB
00000000 Rj Ri
R2
12345678
1234567C
0000 0004
xxxx xxxx
1234 5678
R2
R3R3
R13
8765 4321
8765 4321
0000 0004
12345678
1234567C
8765 4321
1234 5678
R13
Memory Memory
Before execution After execution
Instruction bit pattern : 0000 0000 0010 0011