The following flag may appear before the code field
=
→
EQU or equal-sign directive
The following 2 flags may appear in the code field
----
→
section address (Linker must resolve)
nn[xx]
→
DUP expression: nn DUP(?)
•
The 4th field – statement – is the source statement shown exactly as it
appears in the source file, or as expanded by a macro. The following flags
may appear before a statement.
n
→
Macro-expansion nesting level
C
→
line from INCLUDE file
•
Summary
0 1 2 3 4 5 6
123456789012345678901234567890123456789012345678901234567890...
l l l l oooo hhhh hhhh E C source-program-statement
R n
l l l l
→
line number (4 digits, right alignment)
oooo
→
offset of code (4 digits)
hhhh
→
two 4-digits for opcode
C
→
statement from included file
n
→
Macro expansion line
E
→
external reference
R
→
relocatable name
→
Summary of assembly
The total warning number and total error number is the information
provided at the end of the assembler listing file.
→
Miscellaneous
If any errors occur during assembly, each error message and error number
will appear directly below the statement where the error occurred.
→
Example of assembly listing file
File: sample.asm
Holtek Cross-Assembler Version 2.04 Page
1 0000
.chip
ht48100
2 0000
3 0000
page
60
4 0000
message
’Sample Program 1’
5 0000
6 0000
pa
equ
[12h]
7 0000
pac
equ
[13h]
Chapter 10 Assembly Language and Cross Assembler
133
Содержание 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 ...