Contents
Section 1 Overview
..............................................................................................................
1.1
SH Microcomputer Features..............................................................................................
1.2
Block Diagram...................................................................................................................
1.3
Pin Descriptions.................................................................................................................
1.3.1
Pin Arrangement ..................................................................................................
1.3.2
Pin Functions........................................................................................................
1.3.3
Pin Layout by Mode.............................................................................................
1
1
7
8
8
9
13
Section 2 CPU
.......................................................................................................................
2.1
Register Configuration ......................................................................................................
2.1.1
General Registers (Rn).........................................................................................
2.1.2
Control Registers..................................................................................................
2.1.3
System Registers..................................................................................................
2.1.4
Initial Values of Registers....................................................................................
2.2
Data Formats......................................................................................................................
2.2.1
Data Format in Registers......................................................................................
2.2.2
Data Format in Memory.......................................................................................
2.2.3
Immediate Data Format........................................................................................
2.3 Instruction Features..............................................................................................................
2.3.1
RISC-Type Instruction Set...................................................................................
2.3.2
Addressing Modes................................................................................................
2.3.3
Instruction Formats ..............................................................................................
2.4
Instruction Set....................................................................................................................
2.4.1
Instruction Set by Classification ..........................................................................
2.4.2
Operation Code Map............................................................................................
2.5
CPU State ..........................................................................................................................
2.5.1
State Transitions...................................................................................................
2.5.2
Power-Down State................................................................................................
15
15
15
15
16
17
17
17
18
18
19
19
22
25
28
28
39
41
41
43
Section 3 Operating Modes
...............................................................................................
3.1
Types of Operating Modes and Their Selection................................................................
3.2
Operating Mode Descriptions............................................................................................
3.2.1
Mode 0 (MCU Mode 0)........................................................................................
3.2.2
Mode 1 (MCU Mode 1)........................................................................................
3.2.3
Mode 2 (MCU Mode 2)........................................................................................
3.2.4
Mode 7 (PROM Mode)........................................................................................
45
45
45
45
45
45
45
Section 4 Exception Processing
.......................................................................................
4.1
Overview............................................................................................................................
47
47