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