M68HC08RG/AD
MOTOROLA
M68HC08 Family Reference Guide
7
BCLR n,opr8a
Clear Bit n in Memory
Mn
←
0
–
–
–
–
–
–
DIR (b0)
DIR (b1)
DIR (b2)
DIR (b3)
DIR (b4)
DIR (b5)
DIR (b6)
DIR (b7)
11
13
15
17
19
1B
1D
1F
dd
dd
dd
dd
dd
dd
dd
dd
4
4
4
4
4
4
4
4
BCS rel
Branch if Carry Bit Set
(Same as BLO)
Branch if (C) = 1
–
–
–
–
–
– REL
25 rr
3
BEQ rel
Branch if Equal
Branch if (Z) = 1
–
–
–
–
–
– REL
27 rr
3
BGE rel
Branch if Greater Than or
Equal To
(Signed Operands)
Branch if (N
⊕
V
) = 0
–
–
–
–
–
– REL
90 rr
3
BGT rel
Branch if Greater Than
(Signed Operands)
Branch if (Z)
| (N
⊕
V
) = 0
–
–
–
–
–
– REL
92 rr
3
BHCC rel
Branch if Half Carry Bit
Clear
Branch if (H) = 0
–
–
–
–
–
– REL
28 rr
3
BHCS rel
Branch if Half Carry Bit
Set
Branch if (H) = 1
–
–
–
–
–
– REL
29 rr
3
BHI rel
Branch if Higher
Branch if (C) | (Z) = 0
–
–
–
–
–
– REL
22 rr
3
BHS rel
Branch if Higher or Same
(Same as BCC)
Branch if (C) = 0
–
–
–
–
–
– REL
24 rr
3
BIH rel
Branch if IRQ Pin High
Branch if IRQ pin = 1
–
–
–
–
–
– REL
2F rr
3
BIL rel
Branch if IRQ Pin Low
Branch if IRQ pin = 0
–
–
–
–
–
– REL
2E rr
3
BIT #opr8i
BIT opr8a
BIT opr16a
BIT oprx16,X
BIT oprx8,X
BIT ,X
BIT oprx16,SP
BIT oprx8,SP
Bit Test
(A) & (M)
(CCR Updated but Operands
Not Changed)
0
–
–
–
IMM
DIR
EXT
IX2
IX1
IX
SP2
SP1
A5
B5
C5
D5
E5
F5
9ED5
9EE5
ii
dd
hh ll
ee ff
ff
ee ff
ff
2
3
4
4
3
2
5
4
BLE rel
Branch if Less Than
or Equal To
(Signed Operands)
Branch if (Z)
| (N
⊕
V
) =
1
–
–
–
–
–
– REL
93 rr
3
BLO rel
Branch if Lower
(Same as BCS)
Branch if (C) = 1
–
–
–
–
–
– REL
25 rr
3
BLS rel
Branch if Lower or Same
Branch if (C) | (Z) = 1
–
–
–
–
–
– REL
23 rr
3
BLT rel
Branch if Less Than
(Signed Operands)
Branch if (N
⊕
V
) =
1
–
–
–
–
–
– REL
91 rr
3
BMC rel
Branch if Interrupt Mask
Clear
Branch if (I) = 0
–
–
–
–
–
– REL
2C rr
3
BMI rel
Branch if Minus
Branch if (N) = 1
–
–
–
–
–
– REL
2B rr
3
Table 2. Instruction Set Summary (Sheet 2 of 8)
Source
Form
Operation
Description
Effect
on CCR
Ad
dress
M
ode
Opc
o
de
O
p
erand
Cycl
es
V H 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
.
..