CONTENTS
OVERVIEW................................................................................................... 1
1.1
1.2
1.3
1.4
Pin Assignment.................................................................................................................................... 8
1.5
Package Dimensions ........................................................................................................................... 9
1.6
Pin Description................................................................................................................................... 10
1.7
I/O Circuit........................................................................................................................................... 13
HANDLING DEVICES ................................................................................. 15
2.1
CPU ............................................................................................................. 19
3.1
Memory Space................................................................................................................................... 20
3.1.1
3.1.2
Memory Map................................................................................................................................. 24
3.1.3
Addressing.................................................................................................................................... 25
3.1.4
Linear Addressing......................................................................................................................... 26
3.1.5
Bank Addressing .......................................................................................................................... 27
3.1.6
3.2
Dedicated Registers .......................................................................................................................... 31
3.2.1
3.2.2
Accumulator (A) ............................................................................................................................ 34
3.2.3
Stack Pointer (USP, SSP) ............................................................................................................ 37
3.2.4
Processor status (PS)................................................................................................................... 40
3.2.5
Program counter (PC) .................................................................................................................. 45
3.2.6
Direct page register (DPR) ........................................................................................................... 46
3.2.7
3.3
General-purpose Register ................................................................................................................. 48
3.4
Prefix Code ........................................................................................................................................ 50
3.4.1
3.4.2
3.4.3
3.4.4
Restrictions on Prefix Code .......................................................................................................... 55
3.5
Interrupt ............................................................................................................................................. 57
3.5.1
3.5.2
3.5.3
3.5.4
3.5.5
Hardware Interrupt........................................................................................................................ 69
3.5.6
3.5.7
3.5.8
Multiple interrupts ......................................................................................................................... 75
vii