13
User’s Manual U15798EJ2V0UD
3.2 Processor Registers ...............................................................................................................
65
3.2.1 Control registers ...........................................................................................................................
65
3.2.2 General-purpose registers ...........................................................................................................
69
3.2.3 Special-function registers (SFR) ..................................................................................................
70
3.3 Instruction Address Addressing ...........................................................................................
74
3.3.1 Relative addressing ......................................................................................................................
74
3.3.2 Immediate addressing ..................................................................................................................
75
3.3.3 Table indirect addressing ..............................................................................................................
76
3.3.4 Register addressing .....................................................................................................................
77
3.4 Operand Address Addressing ...............................................................................................
78
3.4.1 Implied addressing .......................................................................................................................
78
3.4.2 Register addressing .....................................................................................................................
79
3.4.3 Direct addressing .........................................................................................................................
80
3.4.4 Short direct addressing ................................................................................................................
81
3.4.5 Special function register (SFR) addressing ..................................................................................
82
3.4.6 Register indirect addressing .........................................................................................................
83
3.4.7 Based addressing ........................................................................................................................
84
3.4.8 Based indexed addressing ...........................................................................................................
85
3.4.9 Stack addressing ..........................................................................................................................
86
CHAPTER 4 PORT FUNCTIONS .....................................................................................................
87
4.1 Port Functions ........................................................................................................................
87
4.2 Port Configuration ..................................................................................................................
89
4.2.1 Port 0 ............................................................................................................................................
89
4.2.2 Port 1 ............................................................................................................................................
92
4.2.3 Port 2 ............................................................................................................................................
93
4.2.4 Port 3 ............................................................................................................................................
96
4.2.5 Port 4 ............................................................................................................................................
100
4.2.6 Port 7 ............................................................................................................................................
101
4.2.7 Port 8 ............................................................................................................................................
102
4.2.8 Port 9 ............................................................................................................................................
103
4.2.9 Port 10 ..........................................................................................................................................
104
4.2.10 Port 11 ........................................................................................................................................
105
4.3 Port Function Control Registers ...........................................................................................
106
4.4 Port Function Operations ......................................................................................................
111
4.4.1 Writing to I/O port .........................................................................................................................
111
4.4.2 Reading from I/O port ...................................................................................................................
111
4.4.3 Operations on I/O port ..................................................................................................................
111
4.5 Selection of Mask Option .......................................................................................................
112
CHAPTER 5 CLOCK GENERATOR ................................................................................................
113
5.1 Clock Generator Functions ....................................................................................................
113
5.2 Clock Generator Configuration .............................................................................................
113
5.3 Clock Generator Control Registers .......................................................................................
115
5.4 System Clock Oscillator .........................................................................................................
118
5.4.1 Main system clock oscillator .........................................................................................................
118
5.4.2 Subsystem clock oscillator ...........................................................................................................
119
5.4.3 Examples of incorrect resonator connection ................................................................................
120
Содержание mPD780344 Series
Страница 2: ...2 User s Manual U15798EJ2V0UD MEMO...