SW500009 Microchip Technology, SW500009 Datasheet - Page 145

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
Linker and Utilities
This example shows text at zero, data linked at 8000h but loaded after text, bss is linked and
loaded at 8000h plus the size of data, and nvram and heap are concatenated with bss. Note here
the use of two -P options. Multiple -P options are processed in order.
used in place of a link or load address, and space will be found in one of the address ranges. For
example:
This will link data at C000h, but find space to load it in the address ranges associated with CODE.
If no sufficiently large space is available, an error will result. Note that in this case the data psect
will still be assembled into one contiguous block, whereas other psects in the class CODE will be
distributed into the address ranges wherever they will fit. This means that if there are two or more
psects in class CODE, they may be intermixed in the address ranges.
address ranges specified with the -A option. This allows a range to be specified with the -A option
without knowing in advance how much of the lower part of the range, for example, will be required
for other psects.
5.9.21 -Qprocessor
This option allows a processor type to be specified. This is purely for information placed in the map
file. The argument to this option is a string describing the processor.
5.9.22 -S
This option prevents symbol information relating from being included in the symbol file produced
by the linker. Segment information is still included.
5.9.23 -Sclass=limit[, bound]
A class of psects may have an upper address limit associated with it. The following example places
a limit on the maximum address of the CODE class of psects to one less than 400h.
Note that to set an upper limit to a psect, this must be set in assembler code (with a limit= flag on
a PSECT directive).
If -A options have been used to specify address ranges for a class then this class name may be
Any psects allocated by a -P option will have their load address range subtracted from any
-ACODE=8000h-BFFEh,E000h-FFFEh
-Pdata=C000h/CODE
-SCODE=400h
Operation
131

Related parts for SW500009