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