EasyManua.ls Logo

Commodore PC 10 - Page 328

Commodore PC 10
494 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
1190
MS-DOS User's Reference
The Map File
The
map file lists
the
names, load addresses,
and
lengths
of
all seg-
ments
in a program.
It
also lists
the
names
and
load addresses
of
any groups in
the
program,
the
program
start
address, and mes-
sages
about
any
errors
it may have
encountered.
If
the
Imap
option
is
used
in
the
link
command
line,
the
map
file lists
the
names and load addresses
of
all public symbols.
Segment information has
the
general form
shown
in this example:
Start
OOOOOH
01730H
Stop
0172CH
01E19H
Length
Name
Class
0172DH
006EAH
TEXT
DATA
CODE
DATA
The
Start
and
Stop
columns
show
the
20-bit addresses
(in
hex-
adecimal)
of
the
first and last
byte
in
each
segment.
These
addresses are relative
to
the
beginning
of
the
load module,
which
is assumed
to
be
address
OOOOH.
The
operating
system
chooses
its
own
starting address
once
the
program is actually loaded.
The
Length
column
gives
the
length
of
the
segment
in bytes;
the
Name
column
gives
the
name
of
the
segment;
and
the
Class
column
gives
the
segment's class name.
Group
information has
the
following general form:
Origin
0000:0
0173:0
Group
IGROUP
DGROUP
In this example, IGROUP is
the
name
of
the
code
(instruction)
group
and DGROUP is
the
name
of
the
data
group.
At
the
end
of
the
listing file,
the
linker gives
you
the
address
of
the
program
entry
point.
If
you
specify the
Imap
option
in
the
link
command
line,
the
linker adds a public-symbol list
to
the
map
file.
The
symbols
are
presented
twice:
once
in alphabetical
order,
then
in
the
order
of
their
load addresses.
The
list has
the
general form
shown
in
the
following example:
Address
0000:1567
0000:
1696
0000:01DB
0000:131C
0173:0035
Publics
by
Name
BRK
CHMOD
CHKSTK
CLEARERR
FAC
[
[
[
[
[
[
[
[
[
[
[
[
[-
[
[
[

Table of Contents

Related product manuals