
C h a p t e r 1 0
Assembly Language and
Cross Assembler
Assembly-Language programs are written as source files. They can be
assembled into object files by the Holtek Cross Assembler (HASM). Object
files are combined by the Cross Linker (HLINK) to generate a task file.
A source program is made up of statements, giving directions to the
assembler at assembly time or to the processor at run time. Statements are
constituted by mnemonics (operations), operands and comments.
Notational Conventions
The following list describes the notations used by this document.
Example of convention
Description of convention
[optional items]
Syntax elements that are enclosed by a pair of
brackets are optional. For example, the syntax of
the command line is as follows:
HASM [options] filename [;]
In the above command line, options and; are both
optional, but filename is required, except for the
following two cases:
1. Brackets in the instruction operands. In this
case, the brackets refer to memory address.
2. Brackets in the interactive command mode. In
this case, they are message separators.
10
Chapter 10 Assembly Language and Cross Assembler
115
Содержание 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 ...