|
MC68HC08AS20 Datasheet, PDF (81/386 Pages) Freescale Semiconductor, Inc – M68HC08 Microcontrollers | |||
|
◁ |
Table 7-1. Instruction Set Summary (Sheet 2 of 8)
Source
Form
BCLR n, opr
BCS rel
BEQ rel
BGE opr
BGT opr
BHCC rel
BHCS rel
BHI rel
BHS rel
BIH rel
BIL rel
BIT #opr
BIT opr
BIT opr
BIT opr,X
BIT opr,X
BIT ,X
BIT opr,SP
BIT opr,SP
BLE opr
BLO rel
BLS rel
BLT opr
BMC rel
BMI rel
BMS rel
Operation
Description
Effect on
CCR
VH I NZC
Clear Bit n in M
Mn â 0
DIR (b0) 11 dd 4
DIR (b1) 13 dd 4
DIR (b2) 15 dd 4
â
â
â
â
â
â
DIR (b3)
DIR (b4)
17
19
dd
dd
4
4
DIR (b5) 1B dd 4
DIR (b6) 1D dd 4
DIR (b7) 1F dd 4
Branch if Carry Bit Set (Same as BLO)
PC â (PC) + 2 + rel ? (C) = 1
â â â â â â REL
25 rr
3
Branch if Equal
PC â (PC) + 2 + rel ? (Z) = 1
â â â â â â REL
27 rr
3
Branch if Greater Than or Equal To
(Signed Operands)
PC â (PC) + 2 + rel ? (N â V) = 0
â â â â â â REL
90 rr
3
Branch if Greater Than (Signed
Operands)
PC â (PC) + 2 + rel ? (Z) | (N â V) = 0 â â â â â â REL
92 rr
3
Branch if Half Carry Bit Clear
PC â (PC) + 2 + rel ? (H) = 0
â â â â â â REL
28 rr
3
Branch if Half Carry Bit Set
PC â (PC) + 2 + rel ? (H) = 1
â â â â â â REL
29 rr 3
Branch if Higher
PC â (PC) + 2 + rel ? (C) | (Z) = 0 â â â â â â REL
22 rr
3
Branch if Higher or Same
(Same as BCC)
PC â (PC) + 2 + rel ? (C) = 0
â â â â â â REL
24 rr
3
Branch if IRQ Pin High
PC â (PC) + 2 + rel ? IRQ = 1
â â â â â â REL
2F rr
3
Branch if IRQ Pin Low
PC â (PC) + 2 + rel ? IRQ = 0
â â â â â â REL
2E rr
3
Bit Test
(A) & (M)
IMM
DIR
EXT
0
â
ââ
â
â
IX2
IX1
IX
SP1
SP2
A5 ii
2
B5 dd 3
C5 hh ll 4
D5 ee ff 4
E5 ff
3
F5
2
9EE5 ff
4
9ED5 ee ff 5
Branch if Less Than or Equal To
(Signed Operands)
PC â (PC) + 2 + rel ? (Z) | (N â V) = 1 â â â â â â REL
93 rr
3
Branch if Lower (Same as BCS)
PC â (PC) + 2 + rel ? (C) = 1
â â â â â â REL
25 rr
3
Branch if Lower or Same
Branch if Less Than (Signed Operands)
PC â (PC) + 2 + rel ? (C) | (Z) = 1
PC â (PC) + 2 + rel ? (N â V) =1
â â â â â â REL
â â â â â â REL
23 rr
3
91 rr
3
Branch if Interrupt Mask Clear
PC â (PC) + 2 + rel ? (I) = 0
â â â â â â REL
2C rr
3
Branch if Minus
PC â (PC) + 2 + rel ? (N) = 1
â â â â â â REL
2B rr
3
Branch if Interrupt Mask Set
PC â (PC) + 2 + rel ? (I) = 1
â â â â â â REL
2D rr
3
MC68HC08AS20 â Rev. 4.1
Freescale Semiconductor
Advance Information
81
|
▷ |