228
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+
Operation: Resource on channel u4 (Ri)
Ri + 4 Ri
Flag change:
N, Z, V, and C: Unchanged
Execution cycles: a cycle(s)
Instruction format:
Example: STRES #8, @R2+
NZVC
––––
MSB LSB
10111101 u4 Ri
8765 4321 8765 4321
8765 4321
R2
ch.8 Resourcech.8 Resource
xxxx xxxx
12345678
1234567C
12345678
1234567C
1234 5678
R2
1234 567C
Memory Memory
Before execution After execution

Instruction bit pattern : 1011 1101 1000 0010