CHAPTER 7 DETAILED EXECUTION INSTRUCTIONS
7.115 STRES (Store Word Data in Resource to Memory)
Transfers the word data at the resource on channel "u4" to the address indicated by "Ri".
Increments the value of "Ri" by 4.
■ STRES (Store Word Data in Resource to Memory)
Assembler format:
STRES #u4, @Ri+
Resource on channel u4 → (Ri)
Operation:
Ri + 4 → Ri
Flag change:
N, Z, V, and C: Unchanged
Execution cycles:
a cycle(s)
Instruction format:
Example:
STRES #8, @R2+
228
N
Z
V
C
–
–
–
–
MSB
1
0
1
Instruction bit pattern : 1011 1101 1000 0010
R2
1 2 3 4 5 6 7 8
Memory
ch.8 Resource
8 7 6 5 4 3 2 1
12345678
x x x x
1234567C
Before execution
1
1
1
0
1
x x x x
LSB
u4
Ri
R2
1 2 3 4 5 6 7 C
Memory
ch.8 Resource
8 7 6 5 4 3 2 1
8 7 6 5 4 3 2 1
12345678
1234567C
After execution