•
Example
#pragma vector __RESET @ 0x0000
#pragma vector __INT @ 0x0004
void __RESET(void){
...
}
void __INT(void){
...
}
Predefined names
Several symbols are predefined and expanded to produce special informa-
tion. These symbols cannot be undefined or redefined.
__LINE__
A decimal constant containing the current source line number
__FILE__
A string literal containing the name of the file being compiled
__DATE__
A string literal containing the date of compilation, in the form
"Mmmdd yyyy".
__TIME__
A string literal containing the time of compilation, in the form "hh
mm ss"
__STDC__
The constant 1. It is intended that this symbol be defined to be 1
only in standard-conforming implementation.
Holtek C Compiler Specifics
This section describes some fundamental requirements of the Holtek C
compiler language. The topics are:
Using multiple source files
Input/Output ports system calls
Reset and Interrupts
Using multiple souce files
The Holtek C compiler supports multiple source files with only one source
file containing the main() routine. C source files may be compiled one by
one and all the object files linked to an execution file. The Holtek C compiler
can compile all source files and link them all together.
HT-IDE User’s Guide
108
Содержание HT-IDE
Страница 11: ...P a r t I Integrated Development Environment Part I Integrated Development Environment 1 ...
Страница 12: ...HT IDE User s Guide 2 ...
Страница 20: ...Fig 1 6 Fig 1 7 HT IDE User s Guide 10 ...
Страница 24: ...HT IDE User s Guide 14 ...
Страница 70: ...HT IDE User s Guide 60 ...
Страница 76: ...HT IDE User s Guide 66 ...
Страница 92: ...HT IDE User s Guide 82 ...
Страница 93: ...P a r t I I Development Language and Tools Part II Development Language and Tools 83 ...
Страница 94: ...HT IDE User s Guide 84 ...
Страница 148: ...HT IDE User s Guide 138 ...
Страница 150: ...Fig 12 1 Fig 12 2 HT IDE User s Guide 140 ...
Страница 154: ...HT IDE User s Guide 144 ...
Страница 192: ...HT IDE User s Guide 182 ...
Страница 194: ...HT IDE User s Guide 184 ...
Страница 218: ...HT IDE User s Guide 208 ...
Страница 235: ...P a r t V Appendix Part V Appendix 225 ...
Страница 236: ...HT IDE User s Guide 226 ...
Страница 250: ...HT IDE User s Guide 240 ...