MOTOROLA
6-156
INSTRUCTION GLOSSARY
CPU16
REFERENCE MANUAL
MOVB
Operation:
Move Byte
MOVB
(M
1
)
M
2
Description:
Moves a byte of data from a source address to a destination ad-
dress. Data is examined as it is moved, and condition codes are set.
Source data is not changed. A combination of source and destina-
tion addressing modes is used. Extended addressing can be used
to specify source, destination, or both. A special form of indexed ad-
dressing, in which an 8-bit signed offset is added to the content of
index register X after the move is complete, can be used to specify
source or destination. If addition causes IX to overflow, the XK field
is incremented or decremented.
Syntax:
MOVB Source Offset Operand, X, Destination Address Operand
MOVB Source Address Operand, Destination Offset Operand,
XMOVB Source Address Operand, Destination Address Operand
Condition Code Register:
S:
Not affected.
Not affected.
Not affected.
Not affected.
Set if MSB of source data = 1; else cleared.
Set if source data = $00; else cleared.
Cleared.
Not affected.
Not affected.
Not affected.
Not affected.
Instruction Format:
MV:
H:
EV:
N:
Z:
V:
C:
IP:
SM:
PK:
15
S
—
14
MV
—
13
H
—
12
EV
—
11
N
10
Z
9
V
0
8
C
—
7
6
IP
—
5
4
3
2
1
0
SM
—
PK
—
Addressing Mode
IXP to EXT
EXT to IXP
EXT to EXT
Opcode
30
32
37FE
Offset
ff
ff
—
Addr Operand
hh ll
hh ll
hhll hhll
Cycles
8
8
10
F
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
n
.