mc9s08qg8 Freescale Semiconductor, Inc, mc9s08qg8 Datasheet - Page 103
![no-image](/images/manufacturer_photos/0/2/263/freescale_semiconductor__inc_sml.jpg)
mc9s08qg8
Manufacturer Part Number
mc9s08qg8
Description
Hcs08 Microcontrollers
Manufacturer
Freescale Semiconductor, Inc
Datasheet
1.MC9S08QG8.pdf
(300 pages)
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Company:
Part Number:
mc9s08qg84CDNE
Manufacturer:
Freescale Semiconductor
Quantity:
135
Company:
Part Number:
mc9s08qg84CDTE
Manufacturer:
Freescale Semiconductor
Quantity:
135
Part Number:
mc9s08qg8CDT
Manufacturer:
FREESCALE
Quantity:
20 000
Company:
Part Number:
mc9s08qg8CDTE
Manufacturer:
ABB
Quantity:
101
Company:
Part Number:
mc9s08qg8CDTE
Manufacturer:
Freescale Semiconductor
Quantity:
41 991
Part Number:
mc9s08qg8CDTE
Manufacturer:
FREESCALE
Quantity:
20 000
Part Number:
mc9s08qg8CFFE
Manufacturer:
FREESCALE
Quantity:
20 000
Company:
Part Number:
mc9s08qg8CPBE
Manufacturer:
CYPRESS
Quantity:
310
INH
IMM
DIR
EXT
DD
IX+D
Note: All Sheet 2 Opcodes are Preceded by the Page 2 Prebyte (9E)
Freescale Semiconductor
Bit-Manipulation
Inherent
Immediate
Direct
Extended
DIR to DIR
IX+ to DIR
Branch
REL
IX
IX1
IX2
IMD
DIX+
Relative
Indexed, No Offset
Indexed, 8-Bit Offset
Indexed, 16-Bit Offset
IMM to DIR
DIR to IX+
MC9S08QG8 and MC9S08QG4 Data Sheet, Rev. 1.01
Read-Modify-Write
Table 7-3. Opcode Map (Sheet 2 of 2)
SP1
SP2
IX+
IX1+
9E60
3
9E61
4
9E63
3
9E64
3
9E66
3
9E67
3
9E68
3
9E69
3
9E6A
3
9E6B
4
9E6C
3
9E6D
3
9E6F
3
Stack Pointer, 8-Bit Offset
Stack Pointer, 16-Bit Offset
Indexed, No Offset with
Post Increment
Indexed, 1-Byte Offset with
Post Increment
CBEQ
DBNZ
COM
NEG
ROR
DEC
LSR
ASR
ROL
CLR
LSL
TST
INC
SP1
SP1
SP1
SP1
SP1
SP1
SP1
SP1
SP1
SP1
SP1
SP1
SP1
6
6
6
6
6
6
6
6
6
8
6
5
6
Control
Prebyte (9E) and Opcode in
9EAE
2
LDHX
Chapter 7 Central Processor Unit (S08CPUV2)
Number of Bytes
IX
5
Hexadecimal
9EBE
4
LDHX
IX2
6
9ECE
3
9E60
3
LDHX
Register/Memory
NEG
SP1
IX1
5
6
9ED0
4
9ED1
4
9ED2
4
9ED3
4
9ED4
4
9ED5
4
9ED6
4
9ED7
4
9ED8
4
9ED9
4
9EDA
4
9EDB
4
9EDE
4
9EDF
4
HCS08 Cycles
Instruction Mnemonic
Addressing Mode
CMP
SUB
SBC
CPX
AND
EOR
ADC
ORA
ADD
LDA
LDX
STX
STA
BIT
SP2
SP2
SP2
SP2
SP2
SP2
SP2
SP2
SP2
SP2
SP2
SP2
SP2
SP2
5
5
5
5
5
5
5
5
5
5
5
5
5
5
9EE0
3
9EE1
3
9EE2
3
9EE3
3
9EE4
3
9EE5
3
9EE6
3
9EE7
3
9EE8
3
9EE9
3
9EEA
3
9EEB
3
9EEE
3
9EEF
3
CMP
EOR
ORA
SUB
SBC
CPX
AND
ADC
ADD
LDA
STA
LDX
STX
BIT
SP1
SP1
SP1
SP1
SP1
SP1
SP1
SP1
SP1
SP1
SP1
SP1
SP1
SP1
4
4
4
4
4
4
4
4
4
4
4
4
4
4
9EF3
3
9EFE
3
9EFF
3
CPHX
LDHX
STHX
103
SP1
SP1
SP1
6
5
5