Chapter 8 Central Processor Unit (S08CPUV5)
MC9S08LG32 MCU Series, Rev. 5
Freescale Semiconductor
153
RSP
Reset Stack Pointer (Low Byte)
SPL
←
$FF
(High Byte Not Affected)
INH
9C
1
p
– 1 1 –
– – – –
RTC
Return from CALL
INH
8D
7
uuufppp
– 1 1 –
– – – –
RTI
Return from Interrupt
SP
←
(SP) + $0001; Pull (CCR)
SP
←
(SP) + $0001; Pull (A)
SP
←
(SP) + $0001; Pull (X)
SP
←
(SP) + $0001; Pull (PCH)
SP
←
(SP) + $0001; Pull (PCL)
INH
80
9
uuuuufppp
Þ
1 1
Þ
Þ Þ Þ Þ
RTS
Return from Subroutine
SP
←
SP + $0001
;
Pull
(
PCH)
SP
←
SP + $0001; Pull (PCL)
INH
81
5
ufppp
– 1 1 –
– – – –
SBC #
opr8i
SBC
opr8a
SBC
opr16a
SBC
oprx16
,X
SBC
oprx8
,X
SBC ,X
SBC
oprx16
,SP
SBC
oprx8
,SP
Subtract with Carry
A
←
(A) – (M) – (C)
IMM
DIR
EXT
IX2
IX1
IX
SP2
SP1
A2
B2
C2
D2
E2
F2
9E D2
9E E2
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
Þ
1 1
–
–
Þ Þ Þ
SEC
Set Carry Bit
(C
←
1)
INH
99
1
p
– 1 1 –
– – – 1
SEI
Set Interrupt Mask Bit
(I
←
1)
INH
9B
1
p
– 1 1 –
1 – – –
STA
opr8a
STA
opr16a
STA
oprx16
,X
STA
oprx8
,X
STA ,X
STA
oprx16
,SP
STA
oprx8
,SP
Store Accumulator in Memory
M
←
(A)
DIR
EXT
IX2
IX1
IX
SP2
SP1
B7
C7
D7
E7
F7
9E D7
9E E7
dd
hh ll
ee ff
ff
ee ff
ff
3
4
4
3
2
5
4
wpp
pwpp
pwpp
wpp
wp
ppwpp
pwpp
0 1 1 –
–
Þ Þ
–
STHX
opr8a
STHX
opr16a
STHX
oprx8
,SP
Store H:X (Index Reg.)
(M:M + $0001)
←
(H:X)
DIR
EXT
SP1
35
96
9E FF
dd
hh ll
ff
4
5
5
wwpp
pwwpp
pwwpp
0 1 1 –
–
Þ Þ
–
STOP
Enable Interrupts: Stop Processing
Refer to MCU Documentation
I bit
←
0; Stop Processing
INH
8E
2
fp...
– 1 1 –
0 – – –
STX
opr8a
STX
opr16a
STX
oprx16
,X
STX
oprx8
,X
STX ,X
STX
oprx16
,SP
STX
oprx8
,SP
Store X (Low 8 Bits of Index Register)
in Memory
M
←
(X)
DIR
EXT
IX2
IX1
IX
SP2
SP1
BF
CF
DF
EF
FF
9E DF
9E EF
dd
hh ll
ee ff
ff
ee ff
ff
3
4
4
3
2
5
4
wpp
pwpp
pwpp
wpp
wp
ppwpp
pwpp
0 1 1 –
–
Þ Þ
–
Table 8-2. Instruction Set Summary (Sheet 8 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: ......