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