ROHS MC9S08QE128 Reference Manual page 162

Table of Contents

Advertisement

Chapter 8 Central Processor Unit (S08CPUV4)
Source
Operation
Form
Pull Accumulator from
PULA
Stack
Pull H (Index Register
PULH
High) from Stack
Pull X (Index Register
PULX
Low) from Stack
ROL opr8a
ROLA
ROLX
Rotate Left through Carry
ROL oprx8,X
ROL ,X
ROL oprx8,SP
ROR opr8a
RORA
RORX
Rotate Right through
ROR oprx8,X
Carry
ROR ,X
ROR oprx8,SP
RSP
Reset Stack Pointer
RTC
Return fom CALL
RTI
Return from Interrupt
RTS
Return from Subroutine
SBC #opr8i
SBC opr8a
SBC opr16a
SBC oprx16,X
Subtract with Carry
SBC oprx8,X
SBC ,X
SBC oprx16,SP
SBC oprx8,SP
SEC
Set Carry Bit
SEI
Set Interrupt Mask Bit
STA opr8a
STA opr16a
STA oprx16,X
Store Accumulator in
STA oprx8,X
Memory
STA ,X
STA oprx16,SP
STA oprx8,SP
STHX opr8a
STHX opr16a
Store H:X (Index Reg.)
STHX oprx8,SP
Enable Interrupts:
Stop Processing
STOP
Refer to MCU
Documentation
STX opr8a
STX opr16a
STX oprx16,X
Store X (Low 8 Bits of
STX oprx8,X
Index Register)
STX ,X
in Memory
STX oprx16,SP
STX oprx8,SP
162
Table 8-2. HCS08 Instruction Set Summary (Sheet 6 of 7)
Description
SP ← (SP + 0x0001); Pull (A)
SP ← (SP + 0x0001); Pull (H)
SP ← (SP + 0x0001); Pull (X)
C
b7
b7
SP ← 0xFF
(High Byte Not Affected)
SP ← (SP) + 0x0001; Pull (PPAGE)
SP ← (SP) + 0x0001; Pull (PCH)
SP ← (SP) + 0x0001; Pull (PCL)
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)
(M:M + 0x0001) ← (H:X)
I bit ← 0; Stop Processing
MC9S08QE128 MCU Series Reference Manual, Rev. 2
on CCR
V H I N Z C
– – – – – –
– – – – – –
– – – – – –
– –
b0
C
– –
b0
– – – – – –
– – – – – –
– – – – – –
– –
C ← 1
– – – – – 1
I ← 1
– – 1 – – –
M ← (A)
0 – –
0 – –
– – 0 – – –
M ← (X)
0 – –
Effect
INH
86
INH
8A
INH
88
DIR
39
INH
49
INH
59
IX1
69
IX
79
SP1
9E69
DIR
36
INH
46
INH
56
IX1
66
IX
76
SP1
9E66
INH
9C
INH
8D
INH
80
INH
81
IMM
A2
DIR
B2
EXT
C2
IX2
D2
IX1
E2
IX
F2
SP2
9ED2
SP1
9EE2
INH
99
INH
9B
DIR
B7
EXT
C7
IX2
D7
IX1
E7
IX
F7
SP2
9ED7
SP1
9EE7
DIR
35
EXT
96
SP1
9EFF
INH
8E
DIR
BF
EXT
CF
IX2
DF
IX1
EF
IX
FF
SP2
9EDF
SP1
9EEF
Freescale Semiconductor
3
3
3
dd
5
1
1
ff
5
4
ff
6
dd
5
1
1
ff
5
4
ff
6
1
7
9
6
ii
2
dd
3
hh ll
4
ee ff
4
ff
3
3
ee ff
5
ff
4
1
1
dd
3
hh ll
4
ee ff
4
ff
3
2
ee ff
5
ff
4
dd
4
hh ll
5
ff
5
2+
dd
3
hh ll
4
ee ff
4
ff
3
2
ee ff
5
ff
4

Hide quick links:

Advertisement

Table of Contents
loading

Related Products for ROHS MC9S08QE128

This manual is also suitable for:

Mc9s08qe96Mc9s08qe64

Table of Contents