177
CHAPTER 7 DETAILED EXECUTION INSTRUCTIONS
7.81 STB (Store Byte Data in Register to Memory)
Stores the byte data in "Ri" to memory address "(R14 + o8)".
The value "o8" is a signed calculation.
■ STB (Store Byte Data in Register to Memory)
Assembler format: STB Ri, @ (R14, disp8)
Operation: Ri → (R14 + o8)
Flag change:
N, Z, V, and C: Unchanged
Execution cycles: a cycle(s)
Instruction format:
Example: STB R3, @(R14, 1)
NZVC
––––
MSB LSB
0111 Rio8
12345678
R3R3
0000 0021
21
12345678
12345679 12345679
1234 5678
0000 0021
R14
1234 5678
R14
Instruction bit pattern : 0111 0000 0001 0011
xx
Memory Memory
Before execution After execution