11
User’s Manual U14701EJ3V0UD
2.2.25 V
DD0
and V
DD1
............................................................................................................................
2.2.26 V
SS0
and V
SS1
............................................................................................................................
2.2.27 V
PP
(flash memory versions only) .............................................................................................
2.2.28 IC (mask ROM version only) .....................................................................................................
Pin I/O Circuits and Recommended Connection of Unused Pins ...................................
55
55
55
56
57
2.3
CHAPTER 3 CPU ARCHITECTURE................................................................................................
3.1
Memory Spaces....................................................................................................................
3.1.1
Internal program memory space ...............................................................................................
3.1.2
Internal data memory space .....................................................................................................
3.1.3
Special function register (SFR) area .........................................................................................
3.1.4
Data memory addressing..........................................................................................................
3.2
Processor Registers ............................................................................................................
3.2.1
Control registers........................................................................................................................
3.2.2
General-purpose registers ........................................................................................................
3.2.3
Special function register (SFR) .................................................................................................
3.3
Instruction Address Addressing ........................................................................................
3.3.1
Relative addressing...................................................................................................................
3.3.2
Immediate addressing...............................................................................................................
3.3.3
Table indirect addressing ..........................................................................................................
3.3.4
Register addressing ..................................................................................................................
3.4
Operand Address Addressing ............................................................................................
3.4.1
Implied addressing ....................................................................................................................
3.4.2
Register addressing ..................................................................................................................
3.4.3
Direct addressing ......................................................................................................................
3.4.4
Short direct addressing .............................................................................................................
3.4.5
Special function register (SFR) addressing...............................................................................
3.4.6
Register indirect addressing......................................................................................................
3.4.7
Based addressing .....................................................................................................................
3.4.8
Based indexed addressing ........................................................................................................
3.4.9
Stack addressing.......................................................................................................................
61
61
65
66
66
67
70
70
73
74
79
79
80
81
82
83
83
84
85
86
88
89
90
91
91
CHAPTER 4 PORT FUNCTIONS.....................................................................................................
4.1
Port Functions......................................................................................................................
4.2
Port Configuration ...............................................................................................................
4.2.1
Port 0.........................................................................................................................................
4.2.2
Port 1.........................................................................................................................................
4.2.3
Port 2.........................................................................................................................................
4.2.4
Port 3.........................................................................................................................................
4.2.5
Port 4.........................................................................................................................................
4.2.6
Port 5.........................................................................................................................................
4.2.7
Port 6.........................................................................................................................................
4.2.8
Port 7.........................................................................................................................................
4.2.9
Ports 8 and 9 (mask ROM version) ...........................................................................................
4.2.10 Ports 8 and 9 (flash memory version) .......................................................................................
4.2.11 Port 12.......................................................................................................................................
4.3
Port Function Control Registers ........................................................................................
4.4
Port Function Operations....................................................................................................
92
92
96
96
98
99
101
104
106
107
109
111
112
113
114
120