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)
Ri → (R14 + o8)
Operation:
Flag change:
N, Z, V, and C: Unchanged
Execution cycles:
a cycle(s)
Instruction format:
Example:
STB R3, @(R14, 1)
N
Z
V
C
–
–
–
–
MSB
0
1
1
1
Instruction bit pattern :
0111 0000 0001 0011
R3
0 0 0 0 0 0 2 1
R14
1 2 3 4 5 6 7 8
Memory
12345678
12345679
x x
Before execution
CHAPTER 7 DETAILED EXECUTION INSTRUCTIONS
o8
R3
R14
12345678
12345679
LSB
Ri
0 0 0 0 0 0 2 1
1 2 3 4 5 6 7 8
Memory
2 1
After execution
177