English
Language : 

MC9S08AW16CFUE Datasheet, PDF (125/324 Pages) Freescale Semiconductor, Inc – MC9S08AW60 Features
Source
Form
ROR opr8a
RORA
RORX
ROR oprx8,X
ROR ,X
ROR oprx8,SP
RSP
RTI
RTS
SBC #opr8i
SBC opr8a
SBC opr16a
SBC oprx16,X
SBC oprx8,X
SBC ,X
SBC oprx16,SP
SBC oprx8,SP
SEC
SEI
STA opr8a
STA opr16a
STA oprx16,X
STA oprx8,X
STA ,X
STA oprx16,SP
STA oprx8,SP
STHX opr8a
STHX opr16a
STHX oprx8,SP
STOP
STX opr8a
STX opr16a
STX oprx16,X
STX oprx8,X
STX ,X
STX oprx16,SP
STX oprx8,SP
SUB #opr8i
SUB opr8a
SUB opr16a
SUB oprx16,X
SUB oprx8,X
SUB ,X
SUB oprx16,SP
SUB oprx8,SP
SWI
Chapter 7 Central Processor Unit (S08CPUV2)
Table 7-2. HCS08 Instruction Set Summary (Sheet 6 of 7)
Operation
Description
Effect
on CCR
VH I NZC
Rotate Right through
Carry
Reset Stack Pointer
Return from Interrupt
Return from Subroutine
Subtract with Carry
Set Carry Bit
Set Interrupt Mask Bit
Store Accumulator in
Memory
Store H:X (Index Reg.)
Enable Interrupts:
Stop Processing
Refer to MCU
Documentation
Store X (Low 8 Bits of
Index Register)
in Memory
Subtract
Software Interrupt
C
b7
b0
SP ← 0xFF
(High Byte Not Affected)
SP ← (SP) + 0x0001; Pull (CCR)
SP ← (SP) + 0x0001; Pull (A)
SP ← (SP) + 0x0001; Pull (X)
SP ← (SP) + 0x0001; Pull (PCH)
SP ← (SP) + 0x0001; Pull (PCL)
SP ← SP + 0x0001; Pull (PCH)
SP ← SP + 0x0001; Pull (PCL)
A ← (A) – (M) – (C)
C←1
I←1
M ← (A)
(M:M + 0x0001) ← (H:X)
DIR
INH
↕
–
–
↕
↕
↕
INH
IX1
IX
SP1
– – – – – – INH
↕ ↕ ↕ ↕ ↕ ↕ INH
– – – – – – INH
IMM
DIR
EXT
↕
–
–
↕
↕
↕
IX2
IX1
IX
SP2
SP1
– – – – – 1 INH
– – 1 – – – INH
DIR
EXT
IX2
0 – – ↕ ↕ – IX1
IX
SP2
SP1
DIR
0 – – ↕ ↕ – EXT
SP1
I bit ← 0; Stop Processing
– – 0 – – – INH
M ← (X)
A ← (A) – (M)
PC ← (PC) + 0x0001
Push (PCL); SP ← (SP) – 0x0001
Push (PCH); SP ← (SP) – 0x0001
Push (X); SP ← (SP) – 0x0001
Push (A); SP ← (SP) – 0x0001
Push (CCR); SP ← (SP) – 0x0001
I ← 1;
PCH ← Interrupt Vector High Byte
PCL ← Interrupt Vector Low Byte
DIR
EXT
IX2
0 – – ↕ ↕ – IX1
IX
SP2
SP1
IMM
DIR
EXT
↕
–
–
↕
↕
↕
IX2
IX1
IX
SP2
SP1
– – 1 – – – INH
36 dd
5
46
1
56
1
66 ff
5
76
4
9E66 ff
6
9C
1
80
9
81
6
A2 ii
2
B2 dd
3
C2 hh ll 4
D2 ee ff 4
E2 ff
3
F2
3
9ED2 ee ff 5
9EE2 ff
4
99
1
9B
1
B7 dd
3
C7 hh ll 4
D7 ee ff 4
E7 ff
3
F7
2
9ED7 ee ff 5
9EE7 ff
4
35 dd
4
96 hh ll 5
9EFF ff
5
8E
2+
BF dd
3
CF hh ll 4
DF ee ff 4
EF ff
3
FF
2
9EDF ee ff 5
9EEF ff
4
A0 ii
2
B0 dd
3
C0 hh ll 4
D0 ee ff 4
E0 ff
3
F0
3
9ED0 ee ff 5
9EE0 ff
4
83
11
MC9S08AW60 Data Sheet, Rev 2
Freescale Semiconductor
125