CENTRAL PROCESSING UNIT
M68HC16 Z SERIES
4-16
USER’S MANUAL
BITB
Bit Test B
(B)
•
(M)
IND8, X
IND8, Y
IND8, Z
IMM8
IND16, X
IND16, Y
IND16, Z
EXT
E, X
E, Y
E, Z
C9
D9
E9
F9
17C9
17D9
17E9
17F9
27C9
27D9
27E9
ff
ff
ff
ii
gggg
gggg
gggg
hh ll
—
—
—
6
6
6
2
6
6
6
6
6
6
6
—
—
—
—
∆
∆
0
—
BLE
Branch if Less Than or
Equal to Zero
If Z
✛
(N
⊕
V) = 1, branch
REL8
BF
rr
6, 2
—
—
—
—
—
—
—
—
BLS
Branch if Lower or
Same
If C
✛
Z = 1, branch
REL8
B3
rr
6, 2
—
—
—
—
—
—
—
—
BLT
Branch if Less Than
Zero
If N
⊕
V = 1, branch
REL8
BD
rr
6, 2
—
—
—
—
—
—
—
—
BMI
Branch if Minus
If N = 1, branch
REL8
BB
rr
6, 2
—
—
—
—
—
—
—
—
BNE
Branch if Not Equal
If Z = 0, branch
REL8
B6
rr
6, 2
—
—
—
—
—
—
—
—
BPL
Branch if Plus
If N = 0, branch
REL8
BA
rr
6, 2
—
—
—
—
—
—
—
—
BRA
Branch Always
If 1 = 1, branch
REL8
B0
rr
6
—
—
—
—
—
—
—
—
Branch if Bit(s) Clear
If (M)
•
(Mask) = 0, branch
IND8, X
IND8, Y
IND8, Z
IND16, X
IND16, Y
IND16, Z
EXT
CB
DB
EB
0A
1A
2A
3A
mm ff rr
mm ff rr
mm ff rr
mm gggg
rrrr
mm gggg
rrrr
mm gggg
rrrr
mm hh ll
rrrr
10, 12
10, 12
10, 12
10, 14
10, 14
10, 14
10, 14
—
—
—
—
—
—
—
—
BRN
Branch Never
If 1 = 0, branch
REL8
B1
rr
2
—
—
—
—
—
—
—
—
BRSET
Branch if Bit(s) Set
If (M) • (Mask) = 0, branch
IND8, X
IND8, Y
IND8, Z
IND16, X
IND16, Y
IND16, Z
EXT
8B
9B
AB
0B
1B
2B
3B
mm ff rr
mm ff rr
mm ff rr
mm gggg
rrrr
mm gggg
rrrr
mm gggg
rrrr
mm hh ll
rrrr
10, 12
10, 12
10, 12
10, 14
10, 14
10, 14
10, 14
—
—
—
—
—
—
—
—
BSET
Set Bit(s)
(M)
✛
(Mask)
⇒
M
IND8, X
IND8, Y
IND8, Z
IND16, X
IND16, Y
IND16, Z
EXT
1709
1719
1729
09
19
29
39
mm ff
mm ff
mm ff
mm gggg
mm gggg
mm gggg
mm hh ll
8
8
8
8
8
8
8
—
—
—
—
∆
∆
0
∆
BSETW
Set Bit(s) in Word
(M : M + 1)
✛
(Mask)
⇒
M : M + 1
IND16, X
IND16, Y
IND16, Z
EXT
2709
2719
2729
2739
gggg
mmmm
gggg
mmmm
gggg
mmmm
hh ll
mmmm
10
10
10
10
—
—
—
—
∆
∆
0
∆
Table 4-2 Instruction Set Summary (Continued)
Mnemonic
Operation
Description
Address
Instruction
Condition Codes
Mode
Opcode
Operand
Cycles
S
MV
H
EV
N
Z
V
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
.
..