
v
CONTENTS
CHAPTER 1 OVERVIEW ................................................................................................... 1
1.1 Feature of MB90335 Series ................................................................................................................ 2
1.2 Block Diagram .................................................................................................................................... 7
1.3 Package Dimension ............................................................................................................................ 8
1.4 Pin Assignment ................................................................................................................................... 9
1.5 Pin Function ...................................................................................................................................... 10
1.6 I/O Circuit Types ............................................................................................................................... 13
1.7 Handling of Device ............................................................................................................................ 16
CHAPTER 2 CPU ............................................................................................................ 19
2.1 Overview of the CPU ........................................................................................................................ 20
2.2 Memory Space .................................................................................................................................. 21
2.3 Linear Addressing ............................................................................................................................. 24
2.4 Bank Addressing ............................................................................................................................... 25
2.5 Multibyte Data in Memory Space ...................................................................................................... 27
2.6 Registers ........................................................................................................................................... 28
2.6.1 Accumulator (A) ........................................................................................................................... 31
2.6.2 User Stack Pointer (USP) and System Stack Pointer (SSP) ....................................................... 32
2.6.3 Processor Status (PS) ................................................................................................................. 33
2.6.4 Program Counter (PC) ................................................................................................................. 36
2.6.5 Bank Registers (PCB, DTB, USB, SSB, ADB) ............................................................................ 37
2.6.6 Direct Page Register (DPR) ........................................................................................................ 38
2.7 Register Bank ................................................................................................................................... 39
2.8 Prefix Codes ..................................................................................................................................... 40
2.9 Interrupt Disable Instructions ............................................................................................................ 43
CHAPTER 3 INTERRUPT ............................................................................................... 45
3.1 Outline of Interrupt ............................................................................................................................ 46
3.2 Interrupt Cause and Interrupt Vector ................................................................................................ 49
3.3 Interrupt Control Register and Peripheral Function .......................................................................... 52
3.3.1 Interrupt Control Registers (ICR00 to ICR15) .............................................................................. 54
3.3.2 Interrupt Control Register Functions ............................................................................................ 56
3.4 Hardware Interrupt ............................................................................................................................ 59
3.4.1 Operation of Hardware Interrupt .................................................................................................. 62
3.4.2 Operation Flow of Hardware Interrupt ......................................................................................... 64
3.4.3 Procedure for Using a Hardware Interrupt ................................................................................... 65
3.4.4 Multiple Interrupts ........................................................................................................................ 66
3.4.5 Hardware Interrupt Processing Time ........................................................................................... 68
3.5 Software Interrupt ............................................................................................................................. 70
3.6 Interrupts by Extended Intelligent I/O Service (EI2OS) ..................................................................... 72
3.6.1 Extended Intelligent I/O Service (EI2OS) Descriptor (ISD) .......................................................... 74
3.6.2 Each Register of Extended Intelligent I/O Service (EI2OS) Descriptor (ISD) .............................. 76
3.6.3 Operation of Extended Intelligent I/O Service (EI2OS) ................................................................ 79