User's Manual

Table Of Contents
Features ................................................................................................................................................... 51
1. Overview ........................................................................................................................................ 52
1.1 Outline of Specifications .....................................................................................................................52
1.2 List of Products ....................................................................................................................................58
1.3 Block Diagram .....................................................................................................................................59
1.4 Pin Functions .......................................................................................................................................61
1.5 Pin Assignments ..................................................................................................................................65
1.5.1 85-Pin BGA ................................................................................................................................65
1.5.2 83-Pin LGA ................................................................................................................................66
1.5.3 56-Pin QFN .................................................................................................................................67
1.6 List of Pins and Pin Functions .............................................................................................................68
1.6.1 85-Pin BGA ................................................................................................................................68
1.6.2 83-Pin LGA ................................................................................................................................70
1.6.3 56-Pin QFN .................................................................................................................................72
2. CPU ............................................................................................................................................... 74
2.1 Features ................................................................................................................................................74
2.2 Register Set of the CPU .......................................................................................................................75
2.2.1 General-Purpose Registers (R0 to R15) .....................................................................................76
2.2.2 Control Registers ........................................................................................................................76
2.2.2.1 Interrupt Stack Pointer (ISP)/User Stack Pointer (USP) ...................................................77
2.2.2.2 Exception Table Register (EXTB) ....................................................................................77
2.2.2.3 Interrupt Table Register (INTB) ........................................................................................77
2.2.2.4 Program Counter (PC) .......................................................................................................77
2.2.2.5 Processor Status Word (PSW) ...........................................................................................78
2.2.2.6 Backup PC (BPC) ..............................................................................................................79
2.2.2.7 Backup PSW (BPSW) .......................................................................................................80
2.2.2.8 Fast Interrupt Vector Register (FINTV) ............................................................................80
2.2.2.9 Floating-Point Status Word (FPSW) .................................................................................81
2.2.3 Accumulator ...............................................................................................................................83
2.3 Processor Mode ...................................................................................................................................84
2.3.1 Supervisor Mode .........................................................................................................................84
2.3.2 User Mode ..................................................................................................................................84
2.3.3 Privileged Instruction .................................................................................................................84
2.3.4 Switching Between Processor Modes .........................................................................................84
2.4 Data Types ...........................................................................................................................................85
2.4.1 Integer .........................................................................................................................................85
2.4.2 Floating-Points ............................................................................................................................86
2.4.3 Bitwise Operations .....................................................................................................................86
2.4.4 Strings .........................................................................................................................................87
2.5 Endian ..................................................................................................................................................88
2.5.1 Switching the Endian ..................................................................................................................88
Contents