Freescale Semiconductor, Inc.
SC_Assem.book Page 43 Thursday, September 23, 2004 10:44 AM
SC100 Assembler
Source Listing
• Indicator — The second field of source listing lines is the macro definition/expansion column. Possible values are:
Indicator Meaning
m
+ d i p
Macro definition in progress. (The assembler does not assemble these lines, but retains them for macro expansion.)
Macro expansion in progress.
Data expansion occurring. (The -oCEX option requested this expansion.)
Line skipped due to an IF-THEN-ELSE directive sequence.
Line automatically generated by the assembler, for a pipeline delay.
• Address — The third field of source listing lines contains the memory space value.
• Location Counter — The fourth field of source listing lines contains the location counter value.
• Statement — Fields 5 and beyond of source listing lines contain the source statement. This statement contains one or more instructions, depending on usage of instruction groups.
• Error Message — The listing shows an error message above the line that contains the error. The message consists of the source file name, the source line number, the severity level (remark, warning, error, or fatal), and the message text. The message may also include information about incorrect symbols or fields.
• Message Counts — The listing ends with counts of the assembler errors and warnings.
Final Information
The end of a source listing includes additional information that the Assembler records, such as:
• A list of macros, including the definition line numbers. This list includes any sections declared in the program, as well as defined symbols and their substitution strings.
• A symbol table, including symbol types (integer or floating point), values, definition sections, and attributes (local, global, or set).
• An optional table of non-local symbols, with their defined values. (Use the S option to have the assembler create this table.) This table appears after the end of source input or after the END directive, whichever is first.
SC100 Assembler User Guide 43
For More Information: www.freescale.com
Freescale Semiconductor, Inc.
SC_Assem.book Page 44 Thursday, September 23, 2004 10:44 AM
SC100 Assembler
Source Listing
• An optional cross-reference table of non-local symbols, with line numbers of source lines that refer to these symbols. Asterisk (*) characters indicate lines that define symbols. (Use the CRE option to have the assembler create this table.) This table appears after the end of source input or after the END directive, whichever is first.
• An optional memory utilization report: a memory map showing data allocation, code generation, and unused memory areas. If the information is available, this report also shows associated labels and section information. (Use the MU option to have the assembler create this table.) This table appears at the end of the source listing. (The
Type column indicates the kind of generated code or data, or indicates that a block is unused. The type DATA denotes uninitialized data areas; other types denote initialized data, code, and reverse carry buffers.)
44 SC100 Assembler User Guide
For More Information: www.freescale.com