
–
iii
–
5.3
Instruction Address Addressing................................................................................
5.3.1
Relative Addressing ......................................................................................................
5.3.2
Immediate addressing...................................................................................................
5.3.3
Table indirect addressing ..............................................................................................
5.3.4
Register addressing ......................................................................................................
Operand Address Addressing.....................................................................................
5.4.1
Implied addressing ........................................................................................................
5.4.2
Register addressing ......................................................................................................
5.4.3
Direct addressing ..........................................................................................................
5.4.4
Short direct addressing .................................................................................................
5.4.5
Special-Function Register (SFR) addressing ..................................................................
5.4.6
Register indirect addressing..........................................................................................
5.4.7
Based addressing..........................................................................................................
5.4.8
Based indexed addressing ............................................................................................
5.4.9
Stack addressing ...........................................................................................................
75
75
76
77
78
79
79
80
81
82
84
85
86
87
87
5.4
CHAPTER 6 PORT FUNCTIONS .................................................................................................
89
6.1
6.2
Port Functions..............................................................................................................
Port Configuration.......................................................................................................
6.2.1
Port 0 ............................................................................................................................
6.2.2
Port 1 ............................................................................................................................
6.2.3
Port 2 (
m
PD78064 Subseries) ........................................................................................
6.2.4
Port 2 (
m
PD78064Y Subseries) ......................................................................................
6.2.5
Port 3 ............................................................................................................................
6.2.6
Port 7 ............................................................................................................................
6.2.7
Port 8 ............................................................................................................................
6.2.8
Port 9 ............................................................................................................................
6.2.9
Port 10 ..........................................................................................................................
6.2.10
Port 11 ..........................................................................................................................
Port Function Control Registers.................................................................................
Port Function Operations ...........................................................................................
6.4.1
Writing to input/output port ..........................................................................................
6.4.2
Reading from input/output port .....................................................................................
6.4.3
Operations on input/output port ....................................................................................
89
92
92
94
95
97
99
100
102
103
104
105
106
111
111
111
111
6.3
6.4
CHAPTER 7 CLOCK GENERATOR .............................................................................................
113
7.1
7.2
7.3
7.4
Clock Generator Functions .........................................................................................
Clock Generator Configuration ..................................................................................
Clock Generator Control Register..............................................................................
System Clock Oscillator..............................................................................................
7.4.1
Main system clock oscillator .........................................................................................
7.4.2
Subsystem clock oscillator ............................................................................................
7.4.3
Scaler ............................................................................................................................
7.4.4
When no subsystem clocks are used ...........................................................................
Clock Generator Operations .......................................................................................
7.5.1
Main system clock operations ......................................................................................
7.5.2
Subsystem clock operations .........................................................................................
113
113
115
118
118
119
121
121
122
123
124
7.5