mc9s08qd4 Freescale Semiconductor, Inc, mc9s08qd4 Datasheet - Page 85
![no-image](/images/manufacturer_photos/0/2/263/freescale_semiconductor__inc_sml.jpg)
mc9s08qd4
Manufacturer Part Number
mc9s08qd4
Description
Hcs08 Microcontrollers
Manufacturer
Freescale Semiconductor, Inc
Datasheet
1.MC9S08QD4.pdf
(202 pages)
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Company:
Part Number:
mc9s08qd4CPC
Manufacturer:
FREESCALE
Quantity:
201
Part Number:
mc9s08qd4CPC
Manufacturer:
FREESCALE
Quantity:
20 000
Part Number:
mc9s08qd4CSC
Manufacturer:
NXP/恩智浦
Quantity:
20 000
Company:
Part Number:
mc9s08qd4MSC
Manufacturer:
Freescale Semiconductor
Quantity:
150 510
Company:
Part Number:
mc9s08qd4MSC
Manufacturer:
ON
Quantity:
50 000
Freescale Semiconductor
Source
Form
BCLR n,opr8a
BCS rel
BEQ rel
BGE rel
BGND
BGT rel
BHCC rel
BHCS rel
BHI rel
BHS rel
BIH rel
BIL rel
BIT #opr8i
BIT opr8a
BIT opr16a
BIT oprx16,X
BIT oprx8,X
BIT ,X
BIT oprx16,SP
BIT oprx8,SP
BLE rel
BLO rel
BLS rel
BLT rel
BMC rel
BMI rel
BMS rel
BNE rel
BPL rel
Operation
Clear Bit n in Memory
(Mn ← 0)
Branch if Carry Bit Set (if C = 1)
(Same as BLO)
Branch if Equal (if Z = 1)
Branch if Greater Than or Equal To
(if N ⊕ V = 0) (Signed)
Enter active background if ENBDM=1
Waits for and processes BDM commands
until GO, TRACE1, or TAGGO
Branch if Greater Than (if Z | (N ⊕ V) = 0)
(Signed)
Branch if Half Carry Bit Clear (if H = 0)
Branch if Half Carry Bit Set (if H = 1)
Branch if Higher (if C | Z = 0)
Branch if Higher or Same (if C = 0)
(Same as BCC)
Branch if IRQ Pin High (if IRQ pin = 1)
Branch if IRQ Pin Low (if IRQ pin = 0)
Bit Test
(A) & (M)
(CCR Updated but Operands Not Changed)
Branch if Less Than or Equal To
(if Z | (N ⊕ V) = 1) (Signed)
Branch if Lower (if C = 1) (Same as BCS)
Branch if Lower or Same (if C | Z = 1)
Branch if Less Than (if N ⊕ V = 1) (Signed)
Branch if Interrupt Mask Clear (if I = 0)
Branch if Minus (if N = 1)
Branch if Interrupt Mask Set (if I = 1)
Branch if Not Equal (if Z = 0)
Branch if Plus (if N = 0)
Table 7-2. Instruction Set Summary (Sheet 2 of 9)
MC9S08QD4 Series MCU Data Sheet, Rev. 3
DIR (b0)
DIR (b1)
DIR (b2)
DIR (b3)
DIR (b4)
DIR (b5)
DIR (b6)
DIR (b7)
REL
REL
REL
INH
REL
REL
REL
REL
REL
REL
REL
IMM
DIR
EXT
IX2
IX1
IX
SP2
SP1
REL
REL
REL
REL
REL
REL
REL
REL
REL
Object Code
9E D5
9E E5
11
13
15
17
19
1B
1D
1F
25 rr
27 rr
90 rr
82
92 rr
28 rr
29 rr
22 rr
24 rr
2F rr
2E rr
A5
B5
C5
D5
E5
F5
93 rr
25 rr
23 rr
91 rr
2C rr
2B rr
2D rr
26 rr
2A rr
dd
dd
dd
dd
dd
dd
dd
dd
ii
dd
hh ll
ee ff
ff
ee ff
ff
Chapter 7 Central Processor Unit (S08CPUV2)
5+
5
5
5
5
5
5
5
5
3
3
3
3
3
3
3
3
3
3
2
3
4
4
3
3
5
4
3
3
3
3
3
3
3
3
3
Cyc-by-Cyc
Details
rfwpp
rfwpp
rfwpp
rfwpp
rfwpp
rfwpp
rfwpp
rfwpp
ppp
ppp
ppp
fp...ppp
ppp
ppp
ppp
ppp
ppp
ppp
ppp
pp
rpp
prpp
prpp
rpp
rfp
pprpp
prpp
ppp
ppp
ppp
ppp
ppp
ppp
ppp
ppp
ppp
VH I N Z C
– – – – – –
– – – – – –
– – – – – –
– – – – – –
– – – – – –
– – – – – –
– – – – – –
– – – – – –
– – – – – –
– – – – – –
– – – – – –
– – – – – –
0 – –
– – – – – –
– – – – – –
– – – – – –
– – – – – –
– – – – – –
– – – – – –
– – – – – –
– – – – – –
– – – – – –
on CCR
Affect
–
85