
11
User’s Manual U11302EJ4V0UM
3.1.4
Processor Registers...........................................................................................................
3.2.1
Control registers ......................................................................................................................
3.2.2
General-purpose registers ......................................................................................................
3.2.3
Special-function registers (SFRs)...........................................................................................
Instruction Address Addressing ......................................................................................
3.3.1
Relative addressing.................................................................................................................
3.3.2
Immediate addressing.............................................................................................................
3.3.3
Table indirect addressing........................................................................................................
3.3.4
Register addressing ................................................................................................................
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.....................................................................................................................
Data memory addressing........................................................................................................
55
60
60
63
64
68
68
69
70
71
72
72
73
74
75
76
77
78
79
79
3.2
3.3
3.4
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 7 .......................................................................................................................................
4.2.6
Port 8 .......................................................................................................................................
4.2.7
Port 9 .......................................................................................................................................
4.2.8
Port 10 .....................................................................................................................................
4.2.9
Port 11 .....................................................................................................................................
4.2.10
Port 12 .....................................................................................................................................
4.3
Port Function Control Registers ......................................................................................
4.4
Port Function Operations ..................................................................................................
4.4.1
Writing to I/O port....................................................................................................................
4.4.2
Reading from I/O port .............................................................................................................
4.4.3
Operations on I/O port ............................................................................................................
4.5
Selection of Mask Option ..................................................................................................
80
80
83
83
85
86
88
89
90
91
92
93
94
95
98
98
98
98
99
CHAPTER 5 CLOCK GENERATOR .................................................................................................... 100
5.1
Clock Generator Functions ............................................................................................... 100
5.2
Clock Generator Configuration......................................................................................... 100
5.3
Clock Generator Control Registers.................................................................................. 102
5.4
System Clock Oscillator .................................................................................................... 109
5.4.1
Main system clock oscillator ................................................................................................... 109
5.4.2
Subsystem clock oscillator ..................................................................................................... 110