CPU
Instruction Set Summary
MC68HC05X4 Rev 1.0
MOTOROLA
CPU
41
15-cpu
BHS rel
Branch if Higher or Same
PC
←
(PC) + 2 + rel C = 0
PC
←
(PC) + 2 + rel IRQ = 1
PC
←
(PC) + 2 + rel IRQ = 0
— — — — —
REL
24
rr
3
BIH rel
Branch if IRQ Pin High
— — — — —
REL
2F
rr
3
BIL rel
Branch if IRQ Pin Low
— — — — —
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
PC
←
(PC) + 2 + rel C
∨
Z = 1
PC
←
(PC) + 2 + rel I = 0
PC
←
(PC) + 2 + rel N = 1
PC
←
(PC) + 2 + rel I = 1
PC
←
(PC) + 2 + rel Z = 0
PC
←
(PC) + 2 + rel N = 0
PC
←
(PC) + 2 + rel 1 = 1
— — — — —
REL
25
rr
3
BLS rel
Branch if Lower or Same
— — — — —
REL
23
rr
3
BMC rel
Branch if Interrupt Mask Clear
— — — — —
REL
2C
rr
3
BMI rel
Branch if Minus
— — — — —
REL
2B
rr
3
BMS rel
Branch if Interrupt Mask Set
— — — — —
REL
2D
rr
3
BNE rel
Branch if Not Equal
— — — — —
REL
26
rr
3
BPL rel
Branch if Plus
— — — — —
REL
2A
rr
3
BRA rel
Branch Always
— — — — —
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
BSR rel
Branch to Subroutine
PC
←
(PC) + 2; push (PCL)
SP
←
(SP) – 1; push (PCH)
SP
←
(SP) – 1
PC
←
(PC) + rel
— — — — —
REL
AD
rr
6
CLC
Clear Carry Bit
C
←
0
— — — — 0
INH
98
2
Table 6. Instruction Set Summary (Continued)
Source
Form
Operation
Description
Effect on
CCR
A
M
O
O
C
H I N Z C
F
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
n
.