
Central Processor Unit (CPU)
Opcode Map
MC68HC(9)08XK48 — Rev. 4.0
Advance Information
MOTOROLA
Central Processor Unit (CPU)
81
5.9 Opcode Map
TSX
Transfer SP to H:X
H:X
← (SP) + 1
––––– – INH
95
2
TXA
Transfer X to A
A
← (X)
––––– – INH
9F
1
TXS
Transfer H:X to SP
(SP)
← (H:X) – 1
––––– – INH
94
2
A
Accumulator
n
Any bit
C
Carry/borrow bit
opr
Operand (one or two bytes)
CCR
Condition code register
PC
Program counter
dd
Direct address of operand
PCH
Program counter high byte
dd rr
Direct address of operand and relative offset of branch instruction
PCL
Program counter low byte
DD
Direct to direct addressing mode
REL
Relative addressing mode
DIR
Direct addressing mode
rel
Relative program counter offset byte
DIX+
Direct to indexed with post increment addressing mode
rr
Relative program counter offset byte
ee ff
High and low bytes of offset in indexed, 16-bit offset addressing
SP1
Stack pointer, 8-bit offset addressing mode
EXT
Extended addressing mode
SP2
Stack pointer 16-bit offset addressing mode
ff
Offset byte in indexed, 8-bit offset addressing
SP
Stack pointer
H
Half-carry bit
U
Undefined
H
Index register high byte
V
Overflow bit
hh ll
High and low bytes of operand address in extended addressing
X
Index register low byte
I
Interrupt mask
Z
Zero bit
ii
Immediate operand byte
&
Logical AND
IMD
Immediate source to direct destination addressing mode
|
Logical OR
IMM
Immediate addressing mode
⊕
Logical EXCLUSIVE OR
INH
Inherent addressing mode
( )
Contents of
IX
Indexed, no offset addressing mode
–( )
Negation (two’s complement)
IX+
Indexed, no offset, post increment addressing mode
#
Immediate value
IX+D
Indexed with post increment to direct addressing mode
Sign extend
IX1
Indexed, 8-bit offset addressing mode
←
Loaded with
IX1+
Indexed, 8-bit offset, post increment addressing mode
?
If
IX2
Indexed, 16-bit offset addressing mode
:
Concatenated with
M
Memory location
Set or cleared
N
Negative bit
—
Not affected
Table 5-1. Instruction Set Summary (Sheet 8 of 8)
Source
Form
Operation
Description
Effect on
CCR
Ad
d
res
s
Mo
de
Op
cod
e
Op
eran
d
Cycl
es
VH I N Z C
F
re
e
sc
a
le
S
e
m
ic
o
n
d
u
c
to
r,
I
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
n
c
..
.