English
Language : 

MC9S12XD256MAL Datasheet, PDF (278/1348 Pages) Freescale Semiconductor, Inc – Freescale’s Scalable Controller Area Network
Chapter 6 XGATE (S12XGATEV2)
STB
Store Byte to Memory
(Low Byte)
Operation
RS.L ⇒ M[RB, #OFFS5]
RS.L ⇒ M[RB, RI]
RS.L ⇒ M[RB, RI]; RI+1 ⇒ RI;
RI–1 ⇒ RI; RS.L ⇒ M[RB, RI]1
Stores the low byte of register RD to memory.
CCR Effects
NZVC
————
N: Not affected.
Z: Not affected.
V: Not affected.
C: Not affected.
Code and CPU Cycles
Source Form
STB RS, (RB, #OFFS5),
STB RS, (RB, RI)
STB RS, (RB, RI+)
STB RS, (RB, -RI)
Address
Mode
IDO5
IDR
IDR+
-IDR
01010
01110
01110
01110
Machine Code
RS
RB
RS
RB
RS
RB
RS
RB
STB
Cycles
OFFS5
Pw
RI 0 0 Pw
RI 0 1 Pw
RI 1 0 Pw
1. If the same general purpose register is used as index (RI) and source register (RS), the unmodified content of the source
register is written to the memory: RS.L ⇒ M[RB, RS-1]; RS-1 ⇒ RS
MC9S12XDP512 Data Sheet, Rev. 2.21
278
Freescale Semiconductor