SW500008 Microchip Technology, SW500008 Datasheet - Page 29

PICC-18 STD

SW500008

Manufacturer Part Number
SW500008
Description
PICC-18 STD
Manufacturer
Microchip Technology
Type
Compilerr
Series
PIC18r
Datasheets

Specifications of SW500008

Supported Families
PIC18
Core Architecture
PIC
Software Edition
Standard
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
015
778-1001
778-1001
PICC-18 Command-line Driver
pointers refer to Section 3.4.12.
Note that it is critical that the compilation stages for all source files in a project and the link stage
apply consistent code pointer sizes.
2.4.26 --CR=file: Generate Cross Reference Listing
The --CR option will produce a cross reference listing. If the file argument is omitted, the “raw”
cross reference information will be left in a temporary file, leaving the user to run the CREF utility.
If a filename is supplied, for example --CR=test.crf, PICC18 will invoke CREF to process the
cross reference information into the listing file, in this case test.crf. If multiple source files are
to be included in the cross reference listing, all must be compiled and linked with the one PICC18
command. For example, to generate a cross reference listing which includes the source modules
main.c, module1.c and nvram.c, compile and link using the command:
2.4.27 --DEBUGGER=type: Select Debugger Type
This option specifies to the compiler that the code being built must be runnable on the nominated
debugger. PICC18 supports the Microchip ICD2 debugger and using this option will configure the
compiler to conform to the requirements of the debugger (reserving memory addresses, etc.). For
example:
2.4.28 --DOUBLE=type: Select kind of Double Types
This option allows the kind of double types to be selected. By default the compiler will choose the
truncated IEEE754 24-bit implementation for double types. With this option, this can be changed to
32-bits. A fast implementation, at the cost of code size, is also available.
PICC18 --CHIP=18F242 --CR=main.crf main.c module1.c nvram.c
PICC18 --CHIP=18F242 --DEBUGGER=icd2 main.c
Suboption
24
32
fast32
Table 2.4: Supported Double Types
Truncated IEEE754 24-bit doubles
IEEE754 32-bit doubles
Faster implementation of 32-bit doubles
Type
PICC18 Compiler Options
15

Related parts for SW500008