Operand ............................................................................................................... 112
Comment ............................................................................................................. 113
Assembly Directives ................................................................................................... 113
Conditional Assembly Directives ......................................................................... 113
File Control Directives ......................................................................................... 114
Program Directives .............................................................................................. 115
Data Definition Directives .................................................................................... 118
Macro Directives ................................................................................................. 120
Assembly Instructions ................................................................................................ 122
Name ................................................................................................................... 122
Mnemonic ............................................................................................................ 122
Operand, Operator and Expression .................................................................... 122
Miscellaneous ........................................................................................................... 124
Forward References ............................................................................................ 124
Local Labels ........................................................................................................ 124
Reserved Assembly Language Words ................................................................ 125
Cross Assembler Options .......................................................................................... 126
Assembly Listing File Format ..................................................................................... 126
Source Program Listing ....................................................................................... 126
Summary of Assembly ........................................................................................ 127
Miscellaneous ..................................................................................................... 127
Part III Development Tools .................................................................. 129
Chapter 5 MCU Programming Tools ............................................................................ 131
HT-IDE Development Environment ............................................................................ 131
Holtek In-Circuit Emulator - HT-ICE .......................................................................... 132
HT-ICE Interface Card ......................................................................................... 132
OTP Programmer ................................................................................................ 133
OTP Adapter Card .............................................................................................. 133
System Configuration ................................................................................................ 133
HT-ICE Interface Card Settings ........................................................................... 134
Installation .................................................................................................................. 135
System Requirement ........................................................................................... 135
Hardware Installation .......................................................................................... 135
Software Installation ............................................................................................ 135
Chapter 6 Quick Start ................................................................................................... 141
Step 1 - Create a New Project ........................................................................... 141
Step 2 - Add Source Program Files to the Project ............................................ 141
Step 3 - Build the Project ................................................................................... 141
Step 4 - Programming the OTP Device ............................................................. 141
Step 5 - Transmit Code to Holtek ...................................................................... 142
iv
I/O Type MCU