SW500009 Microchip Technology, SW500009 Datasheet - Page 140

HI-TECH FOR DSPIC/PIC24

SW500009

Manufacturer Part Number
SW500009
Description
HI-TECH FOR DSPIC/PIC24
Manufacturer
Microchip Technology
Type
Compilerr
Series
PIC24 & DsPICr
Datasheet

Specifications of SW500009

Supported Families
PIC24
Core Architecture
PIC, DsPIC
Software Edition
Standard
Kit Contents
Software And Docs
Tool Type
Compiler
Mcu Supported Families
PIC24 MCUs And DsPIC DSCs
Lead Free Status / RoHS Status
Not applicable / RoHS Compliant
For Use With/related Products
DSPIC3X/PIC24
Lead Free Status / Rohs Status
Lead free / RoHS Compliant
Other names
025
778-1003
778-1003
Operation
5.9.1 Numbers in linker options
Several linker options require memory addresses or sizes to be specified. The syntax for all these is
similar. By default, the number will be interpreted as a decimal value. To force interpretation as a
hex number, a trailing H should be added, e.g. 765FH will be treated as a hex number.
5.9.2 -Aclass=low-high,...
Normally psects are linked according to the information given to a -P option (see below) but some-
times it is desired to have a class of psects linked into more than one non-contiguous address range.
This option allows a number of address ranges to be specified for a class. For example:
specifies that the class CODE is to be linked into the given address ranges. Note that a contribution
to a psect from one module cannot be split, but the linker will attempt to pack each block from each
module into the address ranges, starting with the first specified.
repeat count, e.g.
specifies that there are 16 contiguous ranges each 64k bytes in size, starting from zero. Even though
the ranges are contiguous, no code will straddle a 64k boundary. The repeat count is specified as the
character x or * after a range, followed by a count.
5.9.3 -Cx
These options allow control over the call graph information which may be included in the map file
produced by the linker. The -CN option removes the call graph information from the map file. The
-CC option only include the critical paths of the call graph. A function call that is marked with a * in
a full call graph is on a critical path and only these calls are included when the -CC option is used.
A call graph is only produced for processors and memory models that use a compiled stack.
5.9.4 -Cpsect=class
This option will allow a psect to be associated with a specific class. Normally this is not required on
the command line since classes are specified in object files.
126
Where there are a number of identical, contiguous address ranges, they may be specified with a
-ACODE=1020h-7FFEh,8000h-BFFEh
-ACODE=0-FFFFhx16
Linker and Utilities

Related parts for SW500009