English
Language : 

MC9S08RG60 Datasheet, PDF (89/232 Pages) Motorola, Inc – Microcontrollers
SoC Guide — MC9S08RG60/D Rev 1.10
Source
Form
Table 6-1 HCS08 Instruction Set Summary (Sheet 5 of 6)
Operation
Description
Effect
on CCR
VH I NZC
NEG opr8a
NEGA
NEGX
NEG oprx8,X
NEG ,X
NEG oprx8,SP
NOP
NSA
ORA #opr8i
ORA opr8a
ORA opr16a
ORA oprx16,X
ORA oprx8,X
ORA ,X
ORA oprx16,SP
ORA oprx8,SP
PSHA
PSHH
PSHX
PULA
PULH
PULX
ROL opr8a
ROLA
ROLX
ROL oprx8,X
ROL ,X
ROL oprx8,SP
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
Negate
(Two’s Complement)
No Operation
Nibble Swap
Accumulator
Inclusive OR Accumulator
and Memory
Push Accumulator onto
Stack
Push H (Index Register
High) onto Stack
Push X (Index Register
Low) onto Stack
Pull Accumulator from
Stack
Pull H (Index Register
High) from Stack
Pull X (Index Register
Low) from Stack
Rotate Left through Carry
Rotate Right through
Carry
Reset Stack Pointer
Return from Interrupt
Return from Subroutine
Subtract with Carry
Set Carry Bit
Set Interrupt Mask Bit
M ← – (M) = $00 – (M)
A ← – (A) = $00 – (A)
X ← – (X) = $00 – (X)
M ← – (M) = $00 – (M)
M ← – (M) = $00 – (M)
M ← – (M) = $00 – (M)
Uses 1 Bus Cycle
A ← (A[3:0]:A[7:4])
A ← (A) | (M)
Push (A); SP ← (SP) – $0001
Push (H); SP ← (SP) – $0001
Push (X); SP ← (SP) – $0001
SP ← (SP + $0001); Pull (A)
SP ← (SP + $0001); Pull (H)
SP ← (SP + $0001); Pull (X)
C
b7
b0
C
b7
b0
SP ← $FF
(High Byte Not Affected)
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)
SP ← SP + $0001; Pull (PCH)
SP ← SP + $0001; Pull (PCL)
A ← (A) – (M) – (C)
C← 1
I←1
DIR
INH
––
INH
IX1
IX
SP1
– – – – – – INH
– – – – – – INH
0––
IMM
DIR
EXT
–
IX2
IX1
IX
SP2
SP1
– – – – – – INH
– – – – – – INH
– – – – – – INH
– – – – – – INH
– – – – – – INH
– – – – – – INH
DIR
INH
––
INH
IX1
IX
SP1
DIR
INH
––
INH
IX1
IX
SP1
– – – – – – INH
INH
– – – – – – INH
IMM
DIR
EXT
––
IX2
IX1
IX
SP2
SP1
– – – – – 1 INH
– – 1 – – – INH
30 dd
5
40
1
50
1
60 ff
5
70
4
9E60 ff
6
9D
1
62
1
AA ii
2
BA dd
3
CA hh ll 4
DA ee ff 4
EA ff
3
FA
3
9EDA ee ff 5
9EEA ff
4
87
2
8B
2
89
2
86
3
8A
3
88
3
39 dd
5
49
1
59
1
69 ff
5
79
4
9E69 ff
6
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
Freescale Semiconductor
MC9S08RC/RD/RE/RG
89