SW500007 Microchip Technology, SW500007 Datasheet - Page 127

PICC-18 PRO

SW500007

Manufacturer Part Number
SW500007
Description
PICC-18 PRO
Manufacturer
Microchip Technology
Type
Compilerr
Series
PIC18r
Datasheets

Specifications of SW500007

Supported Families
PIC18
Core Architecture
PIC
Software Edition
Professional
Kit Contents
Software And Docs
Mcu Supported Families
PIC18
Tool Function
Compiler
Tool Type
Compiler
Lead Free Status / RoHS Status
Not applicable / RoHS Compliant
For Use With/related Products
PIC18 Series
Lead Free Status / Rohs Status
Lead free / RoHS Compliant
Other names
015P
778-1002
778-1002
Linker and Utilities
as static. These symbols may be referred to by modules other than the one in which they are
defined. It is the linker’s job to match up the definition of a global symbol with the references to it.
Other symbols (local symbols) are passed through the linker to the symbol file, but are not otherwise
processed by the linker.
5.6 Link and load addresses
The linker deals with two kinds of addresses; link and load addresses. Generally speaking the link
address of a psect is the address by which it will be accessed at run time. The load address, which
may or may not be the same as the link address, is the address at which the psect will start within the
output file (HEX or binary file etc.). In the case of the 8086 processor, the link address roughly cor-
responds to the offset within a segment, while the load address corresponds to the physical address
of a segment. The segment address is the load address divided by 16.
copied from ROM to RAM at startup, so that it may be modified at run time; a banked text psect that
is mapped from a physical (== load) address to a virtual (== link) address at run time.
compiler and memory model being used.
5.7 Operation
A command to the linker takes the following form:
Options is zero or more linker options, each of which modifies the behaviour of the linker in some
way. Files is one or more object files, and zero or more library names. The options recognised by
the linker are listed in Table
Option
-8
-Aclass=low-high,...
-Cx
continued. . .
1
In earlier versions of HI-TECH C the linker was called LINK.EXE
Other examples of link and load addresses being different are; an initialised data psect that is
The exact manner in which link and load addresses are used depends very much on the particular
hlink
1
options files ...
5.1
Table 5.1: Linker command-line options
and discussed in the following paragraphs.
Effect
Use 8086 style segment:offset address form
Specify address ranges for a class
Call graph options
Link and load addresses
113

Related parts for SW500007