M68HC08RG/AD
6
M68HC08 Family Reference Guide
MOTOROLA
Table 2. Instruction Set Summary (Sheet 1 of 8)
Source
Form
Operation
Description
Effect
on CCR
Addr
e
s
s
M
ode
O
p
code
Ope
ra
n
d
Cyc
les
V H I N Z C
ADC #opr8i
ADC opr8a
ADC opr16a
ADC oprx16,X
ADC oprx8,X
ADC ,X
ADC oprx16,SP
ADC oprx8,SP
Add with Carry
A
←
(A) + (M) + (C)
–
IMM
DIR
EXT
IX2
IX1
IX
SP2
SP1
A9
B9
C9
D9
E9
F9
9ED9
9EE9
ii
dd
hh ll
ee ff
ff
ee ff
ff
2
3
4
4
3
2
5
4
ADD #opr8i
ADD opr8a
ADD opr16a
ADD oprx16,X
ADD oprx8,X
ADD ,X
ADD oprx16,SP
ADD oprx8,SP
Add without Carry
A
←
(A) + (M)
–
IMM
DIR
EXT
IX2
IX1
IX
SP2
SP1
AB
BB
CB
DB
EB
FB
9EDB
9EEB
ii
dd
hh ll
ee ff
ff
ee ff
ff
2
3
4
4
3
2
5
4
AIS #opr8i
Add Immediate Value
(Signed) to Stack Pointer
SP
←
(SP) + (M)
M is sign extended to a 16-bit value
–
–
–
–
–
– IMM
A7 ii 2
AIX #opr8i
Add Immediate Value
(Signed) to Index
Register (H:X)
H:X
←
(H:X) + (M)
M is sign extended to a 16-bit value
–
–
–
–
–
– IMM
AF ii
2
AND #opr8i
AND opr8a
AND opr16a
AND oprx16,X
AND oprx8,X
AND ,X
AND oprx16,SP
AND oprx8,SP
Logical AND
A
←
(A) & (M)
0
–
–
–
IMM
DIR
EXT
IX2
IX1
IX
SP2
SP1
A4
B4
C4
D4
E4
F4
9ED4
9EE4
ii
dd
hh ll
ee ff
ff
ee ff
ff
2
3
4
4
3
2
5
4
ASL opr8a
ASLA
ASLX
ASL oprx8,X
ASL ,X
ASL oprx8,SP
Arithmetic Shift Left
(Same as LSL)
–
–
DIR
INH
INH
IX1
IX
SP1
38
48
58
68
78
9E68
dd
ff
ff
4
1
1
4
3
5
ASR opr8a
ASRA
ASRX
ASR oprx8,X
ASR ,X
ASR oprx8,SP
Arithmetic Shift Right
–
–
DIR
INH
INH
IX1
IX
SP1
37
47
57
67
77
9E67
dd
ff
ff
4
1
1
4
3
5
BCC rel
Branch if Carry Bit Clear
Branch if (C) = 0
–
–
–
–
–
– REL
24 rr
3
C
b0
b7
0
b0
b7
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
.
..