SW500008 Microchip Technology, SW500008 Datasheet - Page 27

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
2.4.18 --ASMLIST: Generate Assembler .LST Files
The --ASMLIST option tells PICC18 to generate an assembler listing file for each module being
compiled. The list file shows both the original C code, and the generated assembler code and the
corresponding binary op-codes. The listing file will have the same name as the source file, and a file
type (extension) of .lst. Provided the link stage has successfully concluded, the listing file will be
updated by the linker so that it contains absolute addresses and symbol values. Thus you may use the
assembler listing file to determine the position of, and exact op codes corresponding to, instructions.
2.4.19 --CALLGRAPH=type: Control level of information displayed in call
This option allows control over the type of call graph produced in the map file. Allowable suboptions
include: none, to specify that no call graph should be produced; and full to indicate that the full
call graph be displayed in the map file. In addition, the suboption std can be specified to indicate
that a shorter form, without redundant information relating to ARG functions be produced; or crit,
to inidcate that only critical path information be displayed in the call graph.
2.4.20 --CHAR=type: Make Char Type Signed or Unsigned
Unless this option is used, the default behaviour of the compiler is to make all undesignated character
types, unsigned char, unless explicitly declared or cast to signed char. If --CHAR=signed is
used, the default char type will become signed char.
is 0 to 255.
2.4.21 --CHECKSUM=start-end@address<,specs>: Calculate, store and
When this option is used, a checksum is calculated over the given range and the result stored at the
address specified. Additional specifications are permitted to customize the type of checksum that is
used. Each specification is entered as a comma separated spec=value pair, details of which are in
table 2.3.
startup routine will include a built-in verification of this checksum. If this is not desired, this test
can be disabled with the option --runtime=-checksum. For reliable runtime verification of the
checksum, all unused locations within the checksum range should contain a known value. This
option will prefill all unused locations within the range of calculation with value FFh. This prefilling
The range of a signed character type is -128 to +127 and the range of similar unsigned objects
By default, if the destination of the checksum is an address in program memory the generated
graph
verify a checksum
PICC18 Compiler Options
13

Related parts for SW500008