3.2
Processor Registers .........................................................................................................
3.2.1
Control registers ...................................................................................................................
3.2.2
General-purpose registers ...................................................................................................
3.2.3
3.3
3.3.1
Relative addressing ..............................................................................................................
3.3.2
Immediate addressing ..........................................................................................................
3.3.3
Table indirect addressing .....................................................................................................
3.3.4
Register addressing .............................................................................................................
3.4
3.4.1
Implied addressing ...............................................................................................................
3.4.2
Register addressing .............................................................................................................
3.4.3
Direct addressing ..................................................................................................................
3.4.4
Short direct addressing ........................................................................................................
3.4.5
3.4.6
3.4.7
Based addressing .................................................................................................................
3.4.8
Based indexed addressing ...................................................................................................
3.4.9
Stack addressing ..................................................................................................................
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 3 .....................................................................................................................................
4.2.4
Port 4 .....................................................................................................................................
4.2.5
Port 5 .....................................................................................................................................
4.2.6
Port 6 .....................................................................................................................................
4.2.7
Port 7 .....................................................................................................................................
4.2.8
Port 12 ...................................................................................................................................
4.2.9
Port 13 ...................................................................................................................................
4.3
4.4
Port Function Operations ................................................................................................
4.4.1
Writing to I/O ports ...............................................................................................................
4.4.2
Reading from I/O ports .........................................................................................................
4.4.3
Operations on I/O ports ........................................................................................................
5.1
5.2
5.3
5.4
System Clock Oscillator ..................................................................................................
5.4.1
System clock oscillator .........................................................................................................
5.4.2
Divider ...................................................................................................................................
5.5
5.6
5.6.1
User's Manual U15104EJ2V0UD
47
47
50
52
56
56
57
58
59
60
60
61
62
63
64
65
66
67
67
68
68
70
70
71
72
74
75
76
77
80
82
83
87
87
87
87
88
88
89
90
91
91
93
94
95
95
11