Assembly Directives .................................................................................................. 103
Conditional Assembly Directives ......................................................................... 103
File Control Directives ......................................................................................... 104
Program Directives .............................................................................................. 105
Data Definition Directives .................................................................................... 108
Macro Directives .................................................................................................. 110
Assembly Instructions ................................................................................................ 112
Name ................................................................................................................... 112
Mnemonic ............................................................................................................ 112
Operand, Operator and Expression ..................................................................... 112
Miscellaneous ........................................................................................................... 114
Forward References ............................................................................................ 114
Local Labels ........................................................................................................ 114
Reserved Assembly Language Words ................................................................ 115
Cross Assembler Options .......................................................................................... 116
Assembly Listing File Format ..................................................................................... 116
Source Program Listing ....................................................................................... 116
Summary of Assembly ......................................................................................... 117
Miscellaneous ...................................................................................................... 117
Part III Development Tools ................................................................... 119
Chapter 5 MCU Programming Tools ............................................................................ 121
HT-IDE Development Environment ............................................................................ 121
Holtek In-Circuit Emulator
-
HT-ICE .......................................................................... 122
HT-ICE Interface Card ......................................................................................... 122
OTP Programmer ................................................................................................. 123
OTP Adapter Card .............................................................................................. 123
System Configuration ................................................................................................ 123
HT-ICE Interface Card Settings.............................................................................124
Installation .................................................................................................................. 125
System Requirement ........................................................................................... 125
Hardware Installation .......................................................................................... 125
Software Installation ............................................................................................ 125
Chapter 6 Quick Start ................................................................................................... 129
Step 1
-
Create a New Project ............................................................................ 129
Step 2
-
Add Source Program Files to the Project ............................................. 129
Step 3
-
Build the Project .................................................................................... 129
Step 4
-
Programming the OTP Device .............................................................. 129
Step 5
-
Transmit Code to Holtek ....................................................................... 130
iv
A/D Type MCU
Summary of Contents for HT46R22
Page 7: ...vi A D Type MCU...
Page 9: ...viii A D Type MCU...
Page 10: ...P a r t I Microcontroller Profile Part I Microcontroller Profile 1...
Page 11: ...2 A D Type MCU...
Page 90: ...P a r t I I Programming Language Part II Programming Language 81...
Page 91: ...82 A D Type MCU...
Page 97: ...88 A D Type MCU...
Page 128: ...P a r t I I I Development Tools Part III Development Tools 119...
Page 129: ...120 A D Type MCU...
Page 140: ...Appendix Appendix 131...
Page 141: ...132 A D Type MCU...
Page 151: ...142 A D Type MCU...
Page 152: ...A p p e n d i x B Package Information Appendix B Package Information 143 B...
Page 161: ...A D Type MCU...
Page 162: ...Amendments...