SW500010 Microchip Technology, SW500010 Datasheet - Page 47

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
PICC Command-line Driver
If there are no characters following the first = character in the -L option, then any matching default
linker option will be deleted. For example: -L-pfirst= will remove any default linker option that
begins with the string -pfirst=. No warning is generated if such a default linker option cannot
be found.
The default option that you are deleting or replacing must contain an equal character.
2.6.8 -Mfile: Generate Map File
The -M option is used to request the generation of a map file. The map is generated by the linker
an includes detailed information about where objects are located in memory, see Section
information regarding the content of map files.
normally linked using the linker option:
-pentry=CODE
Which places entry anywhere in the memory defined by the CODE class. The pro-
grammer then re-links the project, but now using the driver option:
-L-pentry=CODE+800h
to ensure that the psect is placed above 800h. Another map file is generated and the
Linker command line: section is checked to ensure that the option was recieved
and executed by the linker. Next, the address of the psect entry is noted in the psect
lists that appear later in the map file. See Section
contents of the map file.
T
A
for a project links several psects in the following fashion.
-pone=600h,two,three
which links one at 600h, then follows this with two, then three. It has been decided
that the psects should be linked so that one follows two, which follows three, and
that the highest address of one should be located at 5FFh. This new arragement can be
specified issuing the following driver option:
-L-pthree=-600h,two,one
which creates passes the required linker options to the linker. The existing default option
is still present, so this must be removed by use the driver option:
-L-pone=
which will remove the existing option.
UT RIAL
DDING AND DELETING DEFAULT LINKER OPTIONS
5.10
The default linker options for
for more information on the
PICC Driver Option Descriptions
5.10
for
47

Related parts for SW500010