11
Preliminary User’s Manual U16035EJ1V0UM
3.3 Instruction Address Addressing ............................................................................................
62
3.3.1 Relative addressing .......................................................................................................................
62
3.3.2 Immediate addressing ...................................................................................................................
63
3.3.3 Table indirect addressing ...............................................................................................................
64
3.3.4 Register addressing ......................................................................................................................
64
3.4 Operand Address Addressing ................................................................................................
65
3.4.1 Implied addressing ........................................................................................................................
65
3.4.2 Register addressing ......................................................................................................................
66
3.4.3 Direct addressing ..........................................................................................................................
67
3.4.4 Short direct addressing .................................................................................................................
68
3.4.5 Special function register (SFR) addressing ...................................................................................
69
3.4.6 Register indirect addressing ..........................................................................................................
70
3.4.7 Based addressing .........................................................................................................................
71
3.4.8 Based indexed addressing ............................................................................................................
72
3.4.9 Stack addressing ...........................................................................................................................
72
CHAPTER 4 PORT FUNCTIONS ......................................................................................................
73
4.1 Port Functions .........................................................................................................................
73
4.2 Configuration of Ports .............................................................................................................
75
4.2.1 Port 0 .............................................................................................................................................
75
4.2.2 Port 1 .............................................................................................................................................
76
4.2.3 Port 2 .............................................................................................................................................
77
4.2.4 Port 3 .............................................................................................................................................
79
4.2.5 Port 4 .............................................................................................................................................
81
4.2.6 Port 5 .............................................................................................................................................
82
4.2.7 Port 7 .............................................................................................................................................
83
4.3 Registers to Control Port Function ........................................................................................
85
4.4 Operations of Port Function ...................................................................................................
89
4.4.1 Writing to I/O port ..........................................................................................................................
89
4.4.2 Reading from I/O port ....................................................................................................................
89
4.4.3 Operations on I/O port ...................................................................................................................
89
CHAPTER 5 CLOCK GENERATOR .................................................................................................
90
5.1 Functions of Clock Generator ................................................................................................
90
5.2 Configuration of Clock Generator ..........................................................................................
90
5.3 Registers to Control Clock Generator ...................................................................................
92
5.4 System Clock Oscillator ..........................................................................................................
94
5.4.1 Main system clock oscillator ..........................................................................................................
94
5.4.2 Subsystem clock oscillator ............................................................................................................
95
5.4.3 Divider ...........................................................................................................................................
98
5.4.4 When no subsystem clocks are used ............................................................................................
98
5.5 Clock Generator Operations ...................................................................................................
99
5.5.1 Main system clock operations ....................................................................................................... 100
5.5.2 Subsystem clock operations .......................................................................................................... 101
5.6 Changing System Clock and CPU Clock Settings ................................................................ 101
5.6.1 Time required for switchover between system clock and CPU clock ............................................. 101