LCD Type MCU
Cross Assembler Options
The Cross Assembler options can be set via the Options menu Project command in HT-IDE3000.
The Cross Assembler Options is located on the center part of the Project Option dialog box.
The symbols could be defined in the
Define Symbol
edit box.
Syntax
symbol1[=value1]
[,
symbol2[=value2]
[, ...]]
·
Example,
debugflag=1, newver=3
The check box of the
Generate listing file
is used to decide whether the listing file should be gener-
ated or not. If the check box is checked, the listing file will be generated. Otherwise, it won¢t be gen-
erated.
Assembly Listing File Format
The Assembly Listing File contains the source program listing and summary information. The first
line of each page is a title line which include company name, the Cross Assembler version num-
ber, source file name, date/time of assembly and page number.
Source Program Listing
Each line in the source program has the following syntax:
line-number offset [code] statement
·
Line-number
is the number of the line starting from the first statement in the assembly source
file (4 decimal digits).
·
The 2nd field
-
offset
-
is the offset from the beginning of the current section to the code (4
hexadecimal digits)
·
The 3rd field
-
code
-
is present only if the statement generates code or data (two hexadecimal
4-digit data)
The
code
shows the numeric value in hexadecimal if the value is known at assembly time. Oth-
erwise, a proper flag will indicate the action required to compute the value. The following two
flags may appear behind the code field.
R
®
relocatable address (Cross Linker must resolve)
E
®
external symbol (Cross Linker must resolve)
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 (Cross 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
152
Home Index Bookmark Pages Text
Previous Next
Pages: Home Index