MCU Central Processor Unit (CPU)
MC1321x Reference Manual, Rev. 1.6
Freescale Semiconductor
15-11
IX+
=
16-bit indexed no offset, post increment (CBEQ and MOV only)
IX1
=
16-bit indexed with 8-bit offset from H:X
IX1+
=
16-bit indexed with 8-bit offset, post increment
(CBEQ only)
IX2
=
16-bit indexed with 16-bit offset from H:X
REL
=
8-bit relative offset
SP1
=
Stack pointer with 8-bit offset
SP2
=
Stack pointer with 16-bit offset
Table 15-2. HCS08 Instruction Set Summary (Sheet 1 of 7)
Source
Form
Operation
Description
Effect
on CCR
A
d
d
ress
Mo
de
Op
co
de
Oper
an
d
Bu
s Cycles
1
V H I N Z C
ADC #
opr8i
ADC
opr8a
ADC
opr16a
ADC
oprx16
,X
ADC
oprx8
,X
ADC ,X
ADC
oprx16
,SP
ADC
oprx8
,SP
Add with Carry
A
←
(A) + (M) + (C)
Þ Þ
–
Þ Þ Þ
IMM
DIR
EXT
IX2
IX1
IX
SP2
SP1
A9
B9
C9
D9
E9
F9
9ED9
9EE9
ii
dd
hh ll
ee ff
ff
ee ff
ff
2
3
4
4
3
3
5
4
ADD #
opr8i
ADD
opr8a
ADD
opr16a
ADD
oprx16
,X
ADD
oprx8
,X
ADD ,X
ADD
oprx16
,SP
ADD
oprx8
,SP
Add without Carry
A
←
(A) + (M)
Þ
Þ
–
Þ
Þ
Þ
IMM
DIR
EXT
IX2
IX1
IX
SP2
SP1
AB
BB
CB
DB
EB
FB
9EDB
9EEB
ii
dd
hh ll
ee ff
ff
ee ff
ff
2
3
4
4
3
3
5
4
AIS #
opr8i
Add Immediate Value
(Signed) to Stack Pointer
SP
←
(SP) + (M)
M is sign extended to a 16-bit value
–
–
–
–
–
– IMM
A7 ii
2
AIX #
opr8i
Add Immediate Value
(Signed) to Index
Register (H:X)
H:X
←
(H:X) + (M)
M is sign extended to a 16-bit value
–
–
–
–
–
– IMM
AF ii
2
AND #
opr8i
AND
opr8a
AND
opr16a
AND
oprx16
,X
AND
oprx8
,X
AND ,X
AND
oprx16
,SP
AND
oprx8
,SP
Logical AND
A
←
(A) & (M)
0
–
–
Þ
Þ
–
IMM
DIR
EXT
IX2
IX1
IX
SP2
SP1
A4
B4
C4
D4
E4
F4
9ED4
9EE4
ii
dd
hh ll
ee ff
ff
ee ff
ff
2
3
4
4
3
3
5
4
ASL
opr8a
ASLA
ASLX
ASL
oprx8
,X
ASL ,X
ASL
oprx8
,SP
Arithmetic Shift Left
(Same as LSL)
Þ
–
–
Þ
Þ
Þ
DIR
INH
INH
IX1
IX
SP1
38
48
58
68
78
9E68
dd
ff
ff
5
1
1
5
4
6
ASR
opr8a
ASRA
ASRX
ASR
oprx8
,X
ASR ,X
ASR
oprx8
,SP
Arithmetic Shift Right
Þ
–
–
Þ
Þ
Þ
DIR
INH
INH
IX1
IX
SP1
37
47
57
67
77
9E67
dd
ff
ff
5
1
1
5
4
6
BCC
rel
Branch if Carry Bit Clear
Branch if (C) = 0
–
–
–
–
–
– REL
24 rr
3
C
b0
b7
0
b0
b7
C
Содержание freescale semiconductor MC13211
Страница 40: ...MC1321x Pins and Connections MC1321x Reference Manual Rev 1 6 2 6 Freescale Semiconductor...
Страница 100: ...MC1321x Serial Peripheral Interface SPI MC1321x Reference Manual Rev 1 6 4 24 Freescale Semiconductor...
Страница 166: ...Modem Modes of Operation MC1321x Reference Manual Rev 1 6 7 22 Freescale Semiconductor...
Страница 172: ...Modem Interrupt Description MC1321x Reference Manual Rev 1 6 8 6 Freescale Semiconductor...
Страница 186: ...MCU Modes of Operation MC1321x Reference Manual Rev 1 6 10 8 Freescale Semiconductor...
Страница 208: ...MCU Memory MC1321x Reference Manual Rev 1 6 11 22 Freescale Semiconductor...
Страница 244: ...MCU Parallel Input Output MC1321x Reference Manual Rev 1 6 13 20 Freescale Semiconductor...
Страница 288: ...MCU Central Processor Unit CPU MC1321x Reference Manual Rev 1 6 15 20 Freescale Semiconductor...
Страница 308: ...MCU Timer PWM TPM Module MC1321x Reference Manual Rev 1 6 17 16 Freescale Semiconductor...
Страница 338: ...Inter Integrated Circuit IIC MC1321x Reference Manual Rev 1 6 19 14 Freescale Semiconductor...
Страница 372: ...Development Support MC1321x Reference Manual Rev 1 6 21 20 Freescale Semiconductor...