SW500008 Microchip Technology, SW500008 Datasheet - Page 147

PICC-18 STD

SW500008

Manufacturer Part Number
SW500008
Description
PICC-18 STD
Manufacturer
Microchip Technology
Type
Compilerr
Series
PIC18r
Datasheets

Specifications of SW500008

Supported Families
PIC18
Core Architecture
PIC
Software Edition
Standard
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
015
778-1001
778-1001
Linker and Utilities
5.10.2.3 Psect Information listed by Module
The next section in the map file lists those modules that made a contribution to the output, and
information regarding the psects these modules defined.
Under this on the far left is a list of object files. These object files include both files generated from
source modules and those that were extracted from object library files. In the case of those from
library files, the name of the library file is printed before the object file list.
from each object file, and information regarding that psect. This only deals with object files linked
by the linker. P-code modules derived from p-code library files are handled by the code generator,
and do not appear in the map file.
is running. (The Load address is also shown for those psects that may reside in the HEX file at
a different location and which are mapped before program execution.) The Length of the psect is
shown (in units suitable for that psect). The Selector is less commonly used, but the Space field is
important as it indicates the memory space in which the psect was placed. For Harvard architecture
machines, with separate memory spaces, this field must be used in conjunction with the address to
specify an exact storage location. The Scale of a psect indicates the number of address units per byte
— this is left blank if the scale is 1 — and typically this will show 8 for psects that hold bit objects.
The Load address of psects that hold bits is used to display the link address converted into units of
bytes, rather than the load address.
This section is heralded by the line that contains the headings:
This section shows all the psects (under the Name column) that were linked into the program
The Link address indicates the address at which this psect will be located when the program
Name
T
I
This indicates that one of the files that the linker processed was called ext.obj. (This
may have been derived from ext.c or ext.as.) This object file contained a text psect,
as well as psects called bss and rbit. The psect text was linked at address 3A and
bss at address 4B. At first glance, this seems to be a problem given that text is 22 words
long, however note that they are in different memory areas, as indicated by the Space
flag (0 for text and 1 for bss), and so do not occupy the same memory. The psect
NTERPRETING THE PSECT LIST
UT RIAL
ext.obj text
Link Load Length Selector Space Scale
Name Link Load Length Selector Space Scale
bss
rbit
3A
4B
50
3A
4B
A
The following appears in a map file.
22
10
2
30
4B
0
0
1
1
8
Map Files
133

Related parts for SW500008