SW500010 Microchip Technology, SW500010 Datasheet - Page 152

HI-TECH C PRO FOR PIC10/12/16

SW500010

Manufacturer Part Number
SW500010
Description
HI-TECH C PRO FOR PIC10/12/16
Manufacturer
Microchip Technology
Type
Compilerr
Series
PIC10/12/16r
Datasheets

Specifications of SW500010

Supported Families
PIC10, PIC12, PIC16
Core Architecture
PIC
Software Edition
Professional
Kit Contents
Software And Docs
Mcu Supported Families
PIC10/12/16
Tool Type
Compiler
Lead Free Status / RoHS Status
Not applicable / Not applicable
For Use With/related Products
PIC10, PIC12, PIC14, PIC16, PIC16E
Lead Free Status / Rohs Status
Lead free / RoHS Compliant
Other names
019P
778-1006
778-1006
Operation
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.7.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.7.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.7.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.
152
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
-Ptext=0,data=8000h/,bss/. -Pnvram=bss,heap
-ACODE=8000h-BFFEh,E000h-FFFEh
-Pdata=C000h/CODE
-SCODE=400h
Linker and Utilities

Related parts for SW500010