SW500007 Microchip Technology, SW500007 Datasheet - Page 26

PICC-18 PRO

SW500007

Manufacturer Part Number
SW500007
Description
PICC-18 PRO
Manufacturer
Microchip Technology
Type
Compilerr
Series
PIC18r
Datasheets

Specifications of SW500007

Supported Families
PIC18
Core Architecture
PIC
Software Edition
Professional
Kit Contents
Software And Docs
Mcu Supported Families
PIC18
Tool Function
Compiler
Tool Type
Compiler
Lead Free Status / RoHS Status
Not applicable / RoHS Compliant
For Use With/related Products
PIC18 Series
Lead Free Status / Rohs Status
Lead free / RoHS Compliant
Other names
015P
778-1002
778-1002
PICC18 Compiler Options
files are not preprocessed.
2.4.13 -Q: Quiet Mode
This option places the compiler in a quiet mode which suppresses the HI-TECH Software copyright
notice from being displayed.
2.4.14 -S: Compile to Assembler Code
The -S option stops compilation after generating an assembler source file. An assembler file will be
generated for each C source file passed on the command line. The command:
will produce an assembler file called test.as which contains the code generated from test.c.
This option is particularly useful for checking function calling conventions and signature values
when attempting to write external assembly language routines. The file produced by this option
differs to that produced by the --ASMLIST option in that it does not contain op-codes or addresses
and it may be used as a source file and subsequently passed to the assembler to be assembled.
2.4.15 -Umacro: Undefine a Macro
The -U option, the inverse of the -D option, is used to undefine predefined macros. This option takes
the form -Umacro. The option, -Udraft, for example, is equivalent to:
placed at the top of each module compiled using this option.
2.4.16 -V: Verbose Compile
The -V is the verbose option. The compiler will display the full command lines used to invoke each
of the compiler applications or compiler passes. This option may be useful for determining the exact
linker options if you need to directly invoke the HLINK command.
2.4.17 -X: Strip Local Symbols
The option -X strips local symbols from any files compiled, assembled or linked. Only global sym-
bols will remain in any object files or symbol files produced.
12
PICC18 --CHIP=18F242 -S test.c
#undef draft
PICC-18 Command-line Driver

Related parts for SW500007