SW500010 Microchip Technology, SW500010 Datasheet - Page 169

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
Linker and Utilities
Although these symbols are used to represent the local autos and parameters of a function, they
themselves must be globally accessible to allow each calling function to load their contents. The
C auto and parameter variable identifiers are local symbols that only have scope in the function in
which they are defined.
has been assigned. There is no information encoded into a symbol to indicate whether it represents
code or variables, nor in which memory space it resides.
with a psect as is the case with absolute C variables. Linker-defined symbols showing this as the
psect name may be symbols that have never been used throughout the program, or relate to symbols
that are not directly associated with a psect.
formation on generating these files.) These differ to that shown in the map file in that they list
all symbols, whether they be of global or local scope, and they only list the symbols used in the
module(s) associated with that list file.
5.11 Librarian
The librarian program, LIBR, has the function of combining several object files into a single file
known as a library. The purposes of combining several such object modules are several.
In order to make the library concept useful, it is necessary for the linker to treat modules in a library
differently from object files. If an object file is specified to the linker, it will be linked into the final
linked module. A module in a library, however, will only be linked in if it defines one or more
symbols previously known, but not defined, to the linker. Thus modules in a library will be linked
only if required. Since the choice of modules to link is made on the first pass of the linker, and
the library is searched in a linear fashion, it is possible to order the modules in a library to produce
special effects when linking. More will be said about this later.
5.11.1 The Library Format
The modules in a library are basically just concatenated, but at the beginning of a library is main-
tained a directory of the modules and symbols in the library. Since this directory is smaller than the
sum of the modules, the linker can perform faster searches since it need read only the directory, and
Each symbol is shown with the psect in which they are placed, and the address which the symbol
If the psect of a symbol is shown as (abs), this implies that the symbol is not directly associated
Note that a symbol table is also shown in each assembler list file. (See Section
fewer files to link
faster access
uses less disk space
2.6.17
Librarian
for in-
169

Related parts for SW500010