English
Language : 

MC908GR8CDWE Datasheet, PDF (153/408 Pages) Freescale Semiconductor, Inc – M68HC08 Microcontrollers
Freescale Semiconductor, Inc.
Central Processing Unit (CPU)
Instruction Set Summary
Table 10-1. Instruction Set Summary (Continued)
Source
Form
Operation
SBC #opr
SBC opr
SBC opr
SBC opr,X
SBC opr,X
SBC ,X
SBC opr,SP
SBC opr,SP
SEC
SEI
STA opr
STA opr
STA opr,X
STA opr,X
STA ,X
STA opr,SP
STA opr,SP
STHX opr
STOP
STX opr
STX opr
STX opr,X
STX opr,X
STX ,X
STX opr,SP
STX opr,SP
SUB #opr
SUB opr
SUB opr
SUB opr,X
SUB opr,X
SUB ,X
SUB opr,SP
SUB opr,SP
Subtract with Carry
Set Carry Bit
Set Interrupt Mask
Store A in M
Store H:X in M
Enable IRQ Pin; Stop Oscillator
Store X in M
Subtract
SWI
Software Interrupt
TAP
Transfer A to CCR
TAX
Transfer A to X
TPA
Transfer CCR to A
Description
Effect on
CCR
VH I NZC
A ← (A) – (M) – (C)
IMM
DIR
EXT
↕
–
–
↕
↕
↕
IX2
IX1
IX
SP1
SP2
C←1
– – – – – 1 INH
I←1
– – 1 – – – INH
M ← (A)
(M:M + 1) ← (H:X)
DIR
EXT
IX2
0 – – ↕ ↕ – IX1
IX
SP1
SP2
0 – – ↕ ↕ – DIR
I ← 0; Stop Oscillator
– – 0 – – – INH
M ← (X)
DIR
EXT
IX2
0 – – ↕ ↕ – IX1
IX
SP1
SP2
A ← (A) – (M)
IMM
DIR
EXT
↕
–
–
↕
↕
↕
IX2
IX1
IX
SP1
SP2
PC ← (PC) + 1; Push (PCL)
SP ← (SP) – 1; Push (PCH)
SP ← (SP) – 1; Push (X)
SP ← (SP) – 1; Push (A)
SP ← (SP) – 1; Push (CCR)
SP ← (SP) – 1; I ← 1
PCH ← Interrupt Vector High Byte
PCL ← Interrupt Vector Low Byte
CCR ← (A)
X ← (A)
– – 1 – – – INH
↕ ↕ ↕ ↕ ↕ ↕ INH
– – – – – – INH
A ← (CCR)
– – – – – – INH
A2 ii
2
B2 dd 3
C2 hh ll 4
D2 ee ff 4
E2 ff
3
F2
2
9EE2 ff
4
9ED2 ee ff 5
99
1
9B
2
B7 dd 3
C7 hh ll 4
D7 ee ff 4
E7 ff
3
F7
2
9EE7 ff
4
9ED7 ee ff 5
35 dd 4
8E
1
BF dd 3
CF hh ll 4
DF ee ff 4
EF ff
3
FF
2
9EEF ff
4
9EDF ee ff 5
A0 ii
2
B0 dd 3
C0 hh ll 4
D0 ee ff 4
E0 ff
3
F0
2
9EE0 ff
4
9ED0 ee ff 5
83
9
84
2
97
1
85
1
MC68HC908GR8 — Rev 4.0
MOTOROLA
Central Processing Unit (CPU)
For More Information On This Product,
Go to: www.freescale.com
Technical Data
153