
Instruction Set
Instruction Set Summary
MC68HC05C8A
—
Rev. 3.0
General Release Specification
MOTOROLA
Instruction Set
107
L
G
R
BHI rel
Branch if Higher
PC
←
(PC) + 2 + rel C
∨
Z = 0
— — — — —
REL
22
rr
3
BHS rel
Branch if Higher or Same
PC
←
(PC) + 2 + rel C = 0
— — — — —
REL
24
rr
3
BIH rel
Branch if IRQ Pin High
PC
←
(PC) + 2 + rel IRQ = 1
— — — — —
REL
2F
rr
3
BIL rel
Branch if IRQ Pin Low
PC
←
(PC) + 2 + rel IRQ = 0
— — — — —
REL
2E
rr
3
BIT #opr
BIT opr
BIT opr
BIT oprX
BIT oprX
BIT ,X
Bit Test Accumulator with Memory Byte
(A)
∧
(M)
— —
¤
¤
—
IMM
DIR
EXT
IX2
IX1
IX
A5
B5
C5
D5
E5
F5
ii
dd
hh ll
ee ff
ff
2
3
4
5
4
3
BLO rel
Branch if Lower (Same as BCS)
PC
←
(PC) + 2 + rel C = 1
— — — — —
REL
25
rr
3
BLS rel
Branch if Lower or Same
PC
←
(PC) + 2 + rel C
∨
Z = 1
— — — — —
REL
23
rr
3
BMC rel
Branch if Interrupt Mask Clear
PC
←
(PC) + 2 + rel I = 0
— — — — —
REL
2C
rr
3
BMI rel
Branch if Minus
PC
←
(PC) + 2 + rel N = 1
— — — — —
REL
2B
rr
3
BMS rel
Branch if Interrupt Mask Set
PC
←
(PC) + 2 + rel I = 1
— — — — —
REL
2D
rr
3
BNE rel
Branch if Not Equal
PC
←
(PC) + 2 + rel Z = 0
— — — — —
REL
26
rr
3
BPL rel
Branch if Plus
PC
←
(PC) + 2 + rel N = 0
— — — — —
REL
2A
rr
3
BRA rel
Branch Always
PC
←
(PC) + 2 + rel 1 = 1
— — — — —
REL
20
rr
3
BRCLR n opr rel Branch if Bit n Clear
PC
←
(PC) + 2 + rel Mn = 0
— — — —
¤
DIR (b0)
DIR (b1)
DIR (b2)
DIR (b3)
DIR (b4)
DIR (b5)
DIR (b6)
DIR (b7)
01
03
05
07
09
0B
0D
0F
dd rr
dd rr
dd rr
dd rr
dd rr
dd rr
dd rr
dd rr
5
5
5
5
5
5
5
5
BRN rel
Branch Never
PC
←
(PC) + 2 + rel 1 = 0
— — — — —
REL
21
rr
3
BRSET n opr rel Branch if Bit n Set
PC
←
(PC) + 2 + rel Mn = 1
— — — —
¤
DIR (b0)
DIR (b1)
DIR (b2)
DIR (b3)
DIR (b4)
DIR (b5)
DIR (b6)
DIR (b7)
00
02
04
06
08
0A
0C
0E
dd rr
dd rr
dd rr
dd rr
dd rr
dd rr
dd rr
dd rr
5
5
5
5
5
5
5
5
BSET n opr
Set Bit n
Mn
←
1
— — — — —
DIR (b0)
DIR (b1)
DIR (b2)
DIR (b3)
DIR (b4)
DIR (b5)
DIR (b6)
DIR (b7)
10
12
14
16
18
1A
1C
1E
dd
dd
dd
dd
dd
dd
dd
dd
5
5
5
5
5
5
5
5
Table 12-6. Instruction Set Summary (Continued)
Source
Form
Operation
Description
Effect on
CCR
A
M
O
O
C
H I N Z C