168
CHAPTER 7 DETAILED EXECUTION INSTRUCTIONS
7.72 ST (Store Word Data in Register to Memory)
Loads the word data in "Ri" to memory address "(R15 + u4 × 4)".
The value "u4" is an unsigned calculation.
■ ST (Store Word Data in Register to Memory)
Assembler format: ST Ri, @ (R15, udisp6)
Operation: Ri → (R15 + u4 × 4)
Flag change:
N, Z, V, and C: Unchanged
Execution cycles: a cycle(s)
Instruction format:
Example: ST R3, @ (R15, 4)
NZVC
––––
MSB LSB
00010011 u4 Ri
12345678
R3R3
8765 4321
8765 4321
12345678
1234567C 1234567C
1234 5678
8765 4321
R15
1234 5678
R15
Instruction bit pattern : 0001 0011 0001 0011
xxxx xxxx
Memory Memory
Before execution After execution