Справочник Пользователя для Microchip Technology XC8 Standard Compiler (Workstation) SW006021-1 SW006021-1
Модели
SW006021-1
Macro Assembler
2012 Microchip Technology Inc.
DS52053B-page 243
6.3.3
-E: Specify Error Format/File
The default format for an error message is in the form:
filename: line: message
where the error of type message occurred on line line of the file filename.
The -E option with no argument will make the assembler use an alternate format for
error and warning messages.
error and warning messages.
Specifying a filename as argument will force the assembler to direct error and warning
messages to a file with the name specified.
messages to a file with the name specified.
6.3.4
-F: Specify Page Length
By default the assembly listing format is pageless; i.e., the assembler listing output is
continuous. The output may be formatted into pages of varying lengths. Each page will
begin with a header and title, if specified.
continuous. The output may be formatted into pages of varying lengths. Each page will
begin with a header and title, if specified.
The -F option allows a page length to be specified. A zero value of length implies
pageless output. The length is specified in a number of lines.
pageless output. The length is specified in a number of lines.
6.3.5
-H: Print Hexadecimal Constant
This option specifies that output constants should be shown as hexadecimal values
rather than decimal values. This option affects both the assembly list file, as well as
assembly output, when requested.
rather than decimal values. This option affects both the assembly list file, as well as
assembly output, when requested.
6.3.6
-I: List Macro Expansions
This option forces listing of macro expansions and unassembled conditionals which
would otherwise be suppressed by a NOLIST assembler control, see
Section 6.4.10 “Assembler Controls”. The -L option is still necessary to produce an
actual listing output.
would otherwise be suppressed by a NOLIST assembler control, see
Section 6.4.10 “Assembler Controls”. The -L option is still necessary to produce an
actual listing output.
6.3.7
-L: Generate an Assembly Listing
This option requests the generation of an assembly listing file. If listfile is specified
then the listing will be written to that file, otherwise it will be written to the standard
output.
then the listing will be written to that file, otherwise it will be written to the standard
output.
This option is applied if compiling using xc8, the command-line driver and the
--ASMLIST
--ASMLIST
driver option, see Section 4.8.16 “--ADDRQUAL: Set Compiler
6.3.8
-O: Optimize Assembly
This requests the assembler to perform optimization on the assembly code. Note that
the use of this option slows the assembly process down, as the assembler must make
an additional pass over the input code.
the use of this option slows the assembly process down, as the assembler must make
an additional pass over the input code.
Debug information for assembler code generated from C source code may become
unreliable in debuggers when this option is used.
unreliable in debuggers when this option is used.
This option can be applied if compiling using xc8, the command-line driver and the
--OPT
--OPT
driver option, see Section 4.8.42 “--OPT: Invoke Compiler Optimizations”.