Chapter 8 Central Processor Unit (S08CPUV5)
MC9S08LG32 MCU Series, Rev. 5
148
Freescale Semiconductor
BIT #
opr8i
BIT
opr8a
BIT
opr16a
BIT
oprx16
,X
BIT
oprx8
,X
BIT ,X
BIT
oprx16
,SP
BIT
oprx8
,SP
Bit Test
(A) & (M)
(CCR Updated but Operands Not
Changed)
IMM
DIR
EXT
IX2
IX1
IX
SP2
SP1
A5
B5
C5
D5
E5
F5
9E D5
9E E5
ii
dd
hh ll
ee ff
ff
ee ff
ff
2
3
4
4
3
3
5
4
pp
rpp
prpp
prpp
rpp
rfp
pprpp
prpp
0 1 1 –
–
Þ Þ
–
BLE
rel
Branch if Less Than or Equal To
(if Z
| (N
⊕
V)
=
1) (Signed)
REL
93 rr
3
ppp
– 1 1 –
– – – –
BLO
rel
Branch if Lower (if C = 1) (Same as
BCS)
REL
25 rr
3
ppp
– 1 1 –
– – – –
BLS
rel
Branch if Lower or Same (if C | Z = 1)
REL
23 rr
3
ppp
– 1 1 –
– – – –
BLT
rel
Branch if Less Than (if N
⊕
V
=
1)
(Signed)
REL
91 rr
3
ppp
– 1 1 –
– – – –
BMC
rel
Branch if Interrupt Mask Clear (if I = 0)
REL
2C rr
3
ppp
– 1 1 –
– – – –
BMI
rel
Branch if Minus (if N = 1)
REL
2B rr
3
ppp
– 1 1 –
– – – –
BMS
rel
Branch if Interrupt Mask Set (if I = 1)
REL
2D rr
3
ppp
– 1 1 –
– – – –
BNE
rel
Branch if Not Equal (if Z = 0)
REL
26 rr
3
ppp
– 1 1 –
– – – –
BPL
rel
Branch if Plus (if N = 0)
REL
2A rr
3
ppp
– 1 1 –
– – – –
BRA
rel
Branch Always (if I = 1)
REL
20 rr
3
ppp
– 1 1 –
– – – –
BRCLR
n
,
opr8a
,
rel
Branch if Bit
n
in Memory Clear (if (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
rpppp
rpppp
rpppp
rpppp
rpppp
rpppp
rpppp
rpppp
– 1 1 –
– – –
Þ
BRN
rel
Branch Never (if I = 0)
REL
21 rr
3
ppp
– 1 1 –
– – – –
BRSET
n
,
opr8a
,
rel
Branch if Bit
n
in Memory Set (if (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
rpppp
rpppp
rpppp
rpppp
rpppp
rpppp
rpppp
rpppp
– 1 1 –
– – –
Þ
BSET
n
,
opr8a
Set Bit
n
in Memory (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
rfwpp
rfwpp
rfwpp
rfwpp
rfwpp
rfwpp
rfwpp
rfwpp
– 1 1 –
– – – –
Table 8-2. Instruction Set Summary (Sheet 3 of 10)
Source
Form
Operation
Ad
dr
ess
Mode
Object Code
Cyc
les
Cyc-by-Cyc
Details
Affect
on CCR
V
1 1
H
I N Z C
Содержание MC9S08LG16
Страница 2: ......
Страница 4: ......
Страница 8: ......
Страница 20: ......
Страница 26: ...Chapter 1 Device Overview MC9S08LG32 MCU Series Rev 5 26 Freescale Semiconductor...
Страница 40: ...Chapter 2 Pins and Connections MC9S08LG32 MCU Series Rev 5 40 Freescale Semiconductor...
Страница 96: ...Chapter 5 Resets Interrupts and General System Control MC9S08LG32 MCU Series Rev 5 96 Freescale Semiconductor...
Страница 296: ...Chapter 12 Serial Peripheral Interface S08SPIV4 MC9S08LG32 MCU Series Rev 5 296 Freescale Semiconductor...
Страница 372: ......