Chapter 10 XGATE (S12XGATEV3)
MC9S12XE-Family Reference Manual , Rev. 1.19
Freescale Semiconductor
429
Operation
M[RB, #OFFS5]
⇒
RD.L;
$00
⇒
RD.H
M[RB, RI
]
⇒
RD.L;
$00
⇒
RD.H
M[RB, RI]
⇒
RD.L;
$00
⇒
RD.H;
RI+1
⇒
RI;
1
RI-1
⇒
RI;
M[RS, RI]
⇒
RD.L;
$00
⇒
RD.H
Loads a byte from memory into the low byte of register RD. The high byte is cleared.
CCR Effects
Code and CPU Cycles
LDB
Load Byte from Memory
(Low Byte)
LDB
1. If the same general purpose register is used as index (RI) and destination register (RD), the content of the register will not
be incremented after the data move: M[RB, RI]
⇒
RD.L; $00
⇒
RD.H
N
Z
V
C
—
—
—
—
N:
Not affected.
Z:
Not affected.
V:
Not affected.
C:
Not affected.
Source Form
Address
Mode
Machine Code
Cycles
LDB RD, (RB, #OFFS5)
IDO5
0
1
0
0
0
RD
RB
OFFS5
Pr
LDB RD, (RS, RI)
IDR
0
1
1
0
0
RD
RB
RI
0
0
Pr
LDB RD, (RS, RI+)
IDR+
0
1
1
0
0
RD
RB
RI
0
1
Pr
LDB RD, (RS, -RI)
-IDR
0
1
1
0
0
RD
RB
RI
1
0
Pr
Because
of
an
order
from
the
United
States
International
Trade
Commission,
BGA-packaged
product
lines
and
part
numbers
indicated
here
currently
are
not
available
from
Freescale
for
import
or
sale
in
the
United
States
prior
to
September
2010:
S12XE
products
in
208
MAPBGA
packages