i
Contents
Section 1
1.1
1.2
1.3
Overview
............................................................................................................
Overview............................................................................................................................
Internal Block Diagram......................................................................................................
Pin Arrangement and Functions.........................................................................................
1.3.1
Pin Arrangement...................................................................................................
1.3.2
Pin Functions.........................................................................................................
1
1
5
6
6
7
Section 2
2.1
CPU
.....................................................................................................................
Overview............................................................................................................................ 13
2.1.1
Features.................................................................................................................
2.1.2
Address Space.......................................................................................................
2.1.3
Register Configuration.......................................................................................... 14
Register Descriptions.........................................................................................................
2.2.1
General Registers.................................................................................................. 15
2.2.2
Control Registers...................................................................................................
2.2.3
Initial Register Values...........................................................................................
Data Formats...................................................................................................................... 17
2.3.1
Data Formats in General Registers.......................................................................
2.3.2
Memory Data Formats.......................................................................................... 19
Addressing Modes.............................................................................................................. 20
2.4.1
Addressing Modes.................................................................................................
2.4.2
Effective Address Calculation...............................................................................
Instruction Set .................................................................................................................... 26
2.5.1
Data Transfer Instructions.....................................................................................
2.5.2
Arithmetic Operations...........................................................................................
2.5.3
Logic Operations...................................................................................................
2.5.4
Shift Operations .................................................................................................... 31
2.5.5
Bit Manipulations.................................................................................................. 33
2.5.6
Branching Instructions.......................................................................................... 37
2.5.7
System Control Instructions.................................................................................. 39
2.5.8
Block Data Transfer Instruction............................................................................ 40
Basic Operational Timing .................................................................................................. 42
2.6.1
Access to On-Chip Memory (RAM, ROM) .........................................................
2.6.2
Access to On-Chip Peripheral Modules................................................................ 43
CPU States .........................................................................................................................
2.7.1
Overview...............................................................................................................
2.7.2
Program Execution State.......................................................................................
2.7.3
Program Halt State................................................................................................ 46
2.7.4 Exception-Handling State.....................................................................................
13
13
14
2.2
15
15
16
2.3
18
2.4
20
22
2.5
28
30
31
2.6
42
2.7
45
45
46
46