150
CHAPTER 7 DETAILED EXECUTION INSTRUCTIONS
7.56 LD (Load Word Data in Memory to Register)
Loads the word data at memory address "Rj" to "Ri".
■ LD (Load Word Data in Memory to Register)
Assembler format: LD @Rj, Ri
Operation: (Rj) → Ri
Flag change:
N, Z, V, and C: Unchanged
Execution cycles: b cycle(s)
Instruction format:
Example: LD @R2, R3
NZVC
––––
MSB LSB
00000100 Rj Ri
R2
12345678
1234 5678
0000 0000
R2
R3R3
8765 4321
8765 4321
1234 5678
Memory
12345678
8765 4321
Memory
Before execution After execution
Instruction bit pattern : 0000 0100 0010 0011