MC9S08SH4CTG Freescale, MC9S08SH4CTG Datasheet - Page 111
![](/photos/31/37/313730/mc9s08sh4ctg_sml.jpg)
MC9S08SH4CTG
Manufacturer Part Number
MC9S08SH4CTG
Description
Manufacturer
Freescale
Datasheet
1.MC9S08SH4CTG.pdf
(338 pages)
Specifications of MC9S08SH4CTG
Cpu Family
HCS08
Device Core Size
8b
Frequency (max)
40MHz
Interface Type
I2C/SCI/SPI
Total Internal Ram Size
256Byte
# I/os (max)
13
Number Of Timers - General Purpose
1
Operating Supply Voltage (typ)
3.3/5V
Operating Supply Voltage (max)
5.5V
Operating Supply Voltage (min)
2.7V
On-chip Adc
8-chx10-bit
Instruction Set Architecture
CISC
Operating Temp Range
-40C to 85C
Operating Temperature Classification
Industrial
Mounting
Surface Mount
Pin Count
16
Package Type
TSSOP
Program Memory Type
Flash
Program Memory Size
4KB
Lead Free Status / RoHS Status
Compliant
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Company:
Part Number:
MC9S08SH4CTG
Manufacturer:
FREESCAL
Quantity:
96
Company:
Part Number:
MC9S08SH4CTG
Manufacturer:
Freescale
Quantity:
8 727
- Current page: 111 of 338
- Download datasheet (4Mb)
00
3
01
BRCLR0
3
02
3
03
BRCLR1
3
04
3
05
BRCLR2
3
06
3
07
BRCLR3
3
08
3
09
BRCLR4
3
0A
3
0B
BRCLR5
3
0C
3
0D
BRCLR6
3
0E
3
0F
BRCLR7
3
INH
IMM
DIR
EXT
DD
IX+D
BRSET0
BRSET1
BRSET2
BRSET3
BRSET4
BRSET5
BRSET6
BRSET7
Freescale Semiconductor
Bit-Manipulation
DIR
DIR
DIR
DIR
DIR
DIR
DIR
DIR
DIR
DIR
DIR
DIR
DIR
DIR
DIR
DIR
Inherent
Immediate
Direct
Extended
DIR to DIR
IX+ to DIR
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
10
2
11
2
12
2
13
2
14
2
15
2
16
2
17
2
18
2
19
2
1A
2
1B
2
1C
2
1D
2
1E
2
1F
2
BCLR0
BCLR1
BCLR2
BCLR3
BCLR4
BCLR5
BCLR6
BCLR7
BSET0
BSET1
BSET2
BSET3
BSET4
BSET5
BSET6
BSET7
DIR
DIR
DIR
DIR
DIR
DIR
DIR
DIR
DIR
DIR
DIR
DIR
DIR
DIR
DIR
DIR
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
20
2
21
2
22
2
23
2
24
2
25
2
26
2
27
2
28
2
29
2
2A
2
2B
2
2C
2
2D
2
2E
2
2F
2
Branch
BHCC
BHCS
BMC
BMS
BRA
BRN
BCC
BCS
BNE
BEQ
BLS
BPL
BHI
BMI
BIH
BIL
REL
IX
IX1
IX2
IMD
DIX+
REL
REL
REL
REL
REL
REL
REL
REL
REL
REL
REL
REL
REL
REL
REL
REL
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
30
2
31
3
32
3
33
2
34
2
35
2
36
2
37
2
38
2
39
2
3A
2
3B
3
3C
2
3D
2
3E
3
3F
2
Relative
Indexed, No Offset
Indexed, 8-Bit Offset
Indexed, 16-Bit Offset
IMM to DIR
DIR to IX+
CBEQ
CPHX
LDHX
STHX
DBNZ
COM
NEG
ROR
DEC
LSR
ASR
ROL
CLR
LSL
TST
INC
EXT
EXT
DIR
DIR
DIR
DIR
DIR
DIR
DIR
DIR
DIR
DIR
DIR
DIR
DIR
DIR
5
5
5
5
5
4
5
5
5
5
5
7
5
4
6
5
40
1
41
3
42
1
43
1
44
1
45
3
46
1
47
1
48
1
49
1
4A
1
4B
2
4C
1
4D
1
4E
3
4F
1
CBEQA
DBNZA
COMA
NEGA
RORA
ASRA
DECA
LSRA
LDHX
ROLA
CLRA
LSLA
INCA
TSTA
MOV
MUL
IMM
IMM
INH
INH
INH
INH
INH
INH
INH
INH
INH
INH
INH
INH
INH
DD
Read-Modify-Write
1
4
5
1
1
3
1
1
1
1
1
4
1
1
5
1
50
1
51
3
52
1
53
1
54
1
55
2
56
1
57
1
58
1
59
1
5A
1
5B
2
5C
1
5D
1
5E
2
5F
1
CBEQX
DBNZX
MC9S08SH8 MCU Series Data Sheet, Rev. 3
COMX
NEGX
RORX
LDHX
ASRX
ROLX
DECX
CLRX
LSRX
TSTX
LSLX
INCX
MOV
Table 7-3. Opcode Map (Sheet 1 of 2)
DIV
SP1
SP2
IX+
IX1+
DIX+
IMM
INH
INH
INH
INH
DIR
INH
INH
INH
INH
INH
INH
INH
INH
INH
1
4
6
1
1
4
1
1
1
1
1
4
1
1
5
1
60
2
61
3
62
1
63
2
64
2
65
3
66
2
67
2
68
2
69
2
6A
2
6B
3
6C
2
6D
2
6E
3
6F
2
Stack Pointer, 8-Bit Offset
Stack Pointer, 16-Bit Offset
Indexed, No Offset with
Post Increment
Indexed, 1-Byte Offset with
Post Increment
CBEQ
CPHX
DBNZ
COM
NEG
ROR
DEC
MOV
NSA
LSR
ASR
ROL
CLR
LSL
TST
INC
IX1+
IMM
IMD
INH
IX1
IX1
IX1
IX1
IX1
IX1
IX1
IX1
IX1
IX1
IX1
IX1
5
5
1
5
5
3
5
5
5
5
5
7
5
4
4
5
70
1
71
2
72
1
73
1
74
1
75
2
76
1
77
1
78
1
79
1
7A
1
7B
2
7C
1
7D
1
7E
2
7F
1
CBEQ
CPHX
DBNZ
COM
ROR
MOV
NEG
ASR
ROL
DEC
DAA
LSR
TST
CLR
LSL
INC
IX+D
INH
DIR
IX+
IX
IX
IX
IX
IX
IX
IX
IX
IX
IX
IX
IX
4
5
1
4
4
5
4
4
4
4
4
6
4
3
5
4
80
1
81
1
82
1
83
1
84
1
85
1
86
1
87
1
88
1
89
1
8A
1
8B
1
8C
1
8E
1
8F
1
BGND
PSHA
PSHX
PULH
PSHH
CLRH
STOP
PULA
PULX
WAIT
RTS
SWI
TAP
TPA
RTI
INH
INH
INH
INH
INH
INH
INH
INH
INH
INH
INH
INH
INH
INH
INH
5+
11
2+
2+
Control
9
6
1
1
3
2
3
2
3
2
1
90
2
91
2
92
2
93
2
94
1
95
1
96
3
97
1
98
1
99
1
9A
1
9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nemonic
Addressing Mode
CMP
SUB
SBC
CPX
AND
EOR
ADC
ORA
ADD
LDA
JMP
JSR
LDX
STX
STA
BIT
IX2
IX2
IX2
IX2
IX2
IX2
IX2
IX2
IX2
IX2
IX2
IX2
IX2
IX2
IX2
IX2
4
4
4
4
4
4
4
4
4
4
4
4
4
6
4
4
E0
2
E1
2
E2
2
E3
2
E4
2
E5
2
E6
2
E7
2
E8
2
E9
2
EA
2
EB
2
EC
2
ED
2
EE
2
EF
2
CMP
EOR
ORA
SUB
SBC
CPX
AND
ADC
ADD
JMP
LDA
STA
JSR
LDX
STX
BIT
IX1
IX1
IX1
IX1
IX1
IX1
IX1
IX1
IX1
IX1
IX1
IX1
IX1
IX1
IX1
IX1
3
3
3
3
3
3
3
3
3
3
3
3
3
5
3
3
F0
1
F1
1
F2
1
F3
1
F4
1
F5
1
F6
1
F7
1
F8
1
F9
1
FA
1
FB
1
FC
1
FD
1
FE
1
FF
1
CMP
AND
EOR
ADC
ORA
ADD
SUB
SBC
CPX
JMP
LDX
STX
LDA
STA
JSR
111
BIT
IX
IX
IX
IX
IX
IX
IX
IX
IX
IX
IX
IX
IX
IX
IX
IX
3
3
3
3
3
3
3
2
3
3
3
3
3
5
3
2
Related parts for MC9S08SH4CTG
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
![TWR-ELEV](/photos/9/0/90062/twr-elev_inside_tmb.jpg)
Part Number:
Description:
TOWER ELEVATOR BOARDS HARDWARE
Manufacturer:
Freescale Semiconductor
Datasheet:
![TWR-SER](/photos/9/0/90065/twr-ser_tmb.jpg)
Part Number:
Description:
TOWER SERIAL I/O HARDWARE
Manufacturer:
Freescale Semiconductor
Datasheet:
![TWR-LCD](/photos/37/59/375952/twr-lcd_bd_tmb.jpg)
Part Number:
Description:
LCD MODULE FOR TWR SYSTEM
Manufacturer:
Freescale Semiconductor
Datasheet:
![MCIMX51LCD](/photos/37/58/375843/mx51-lcd_tmb.jpg)
Part Number:
Description:
DAUGHTER LCD WVGA I.MX51
Manufacturer:
Freescale Semiconductor
Datasheet:
![TWR-MPC5125](/photos/37/59/375933/twrmpc5125_tmb.jpg)
Part Number:
Description:
TOWER SYSTEM BOARD MPC5125
Manufacturer:
Freescale Semiconductor
Datasheet:
![MCIMX51EVKJ](/photos/9/23/92399/mcimx51evkj_tmb.jpg)
Part Number:
Description:
KIT EVALUATION I.MX51
Manufacturer:
Freescale Semiconductor
Datasheet:
![MCIMX25WPDKJ](/photos/37/58/375856/imx25pdk_bd_tmb.jpg)
Part Number:
Description:
KIT DEVELOPMENT WINCE IMX25
Manufacturer:
Freescale Semiconductor
Datasheet:
![TWR-MPC5125-KIT](/photos/9/25/92581/mfg_twr-mpc5125-kit_tmb.jpg)
Part Number:
Description:
TOWER SYSTEM KIT MPC5125
Manufacturer:
Freescale Semiconductor
Datasheet:
![TWR-K40X256](/photos/30/35/303578/twr-kx0n_tmb.jpg)
Part Number:
Description:
TOWER SYSTEM BOARD K40X256
Manufacturer:
Freescale Semiconductor
Datasheet:
![TWR-K40X256-KIT](/photos/37/58/375861/twr-kx0n-kit_tmb.jpg)
Part Number:
Description:
TOWER SYSTEM KIT K40X256
Manufacturer:
Freescale Semiconductor
Datasheet:
![MCIMX28EVK](/photos/16/13/161325/imx28_tmb.jpg)
Part Number:
Description:
Microcontrollers (MCU) MX28 PLATFORM DEV KIT
Manufacturer:
Freescale Semiconductor
Datasheet:
![TWR-K60N512-IAR](/photos/18/26/182613/twr-kx0n_tmb.jpg)
Part Number:
Description:
MCU, MPU & DSP Development Tools IAR KickStart Kit for Kinetis K60
Manufacturer:
Freescale Semiconductor
Datasheet:
![MCIMXHDMICARD](/photos/40/32/403220/mcimxhdmicard_tmb.jpg)
Part Number:
Description:
24BIT HDMI MX535/08
Manufacturer:
Freescale Semiconductor
Datasheet:
![MC14560BCP](/images/manufacturer_photos/0/2/263/freescale_semiconductor__inc_tmb.jpg)
Part Number:
Description:
Manufacturer:
Freescale Semiconductor, Inc
Datasheet:
![MC12034AP](/images/manufacturer_photos/0/2/263/freescale_semiconductor__inc_tmb.jpg)
Part Number:
Description:
Manufacturer:
Freescale Semiconductor, Inc
Datasheet: