CONTENTS
1.1
1.2
1.3
Package Dimensions ............................................................................................................................. 7
1.4
Pin Assignment ...................................................................................................................................... 9
1.5
Pin Functions ....................................................................................................................................... 11
1.6
I/O Circuit Type .................................................................................................................................... 18
1.7
Handling the Device ............................................................................................................................. 21
CPU ............................................................................................................. 23
2.1
2.2
Memory Space ..................................................................................................................................... 25
2.3
CPU Registers ..................................................................................................................................... 29
2.3.1
Accumulator (A) .............................................................................................................................. 31
2.3.2
2.3.3
Processor Status (PS) .................................................................................................................... 33
2.3.4
Program Counter (PC) .................................................................................................................... 36
2.3.5
2.3.6
Direct Page Register (DPR) ........................................................................................................... 38
2.3.7
2.4
Prefix Codes ........................................................................................................................................ 40
INTERRUPT ................................................................................................ 43
3.1
Overview of Interrupt ........................................................................................................................... 44
3.2
3.3
3.3.1
3.4
Hardware Interrupt ............................................................................................................................... 53
3.4.1
3.4.2
3.4.3
3.4.4
Multiple Interrupts ........................................................................................................................... 61
3.4.5
3.5
Software Interrupt ................................................................................................................................ 65
Interrupt by μDMAC ............................................................................................................................. 67
3.6
3.6.1
DMA Descriptor .............................................................................................................................. 70
3.6.2
μDMAC Processing Procedure ....................................................................................................... 75
3.6.3
μDMAC Processing Time ............................................................................................................... 76
3.6.4
3.7
2
3.7.1
OS descriptor (ISD) ................................................................................................................... 80
3.7.2
3.7.3
3.7.4
2
OS Descriptor (ISD) ....................................................................................... 82
2
OS ......................................................................................................................... 85
2
OS ........................................................................................................... 86
2
OS) .......................................................................... 78
vii