EasyManua.ls Logo

Commodore PC - Page 262

Commodore PC
414 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...
190
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
/map
option
is
used
in
the
link
command
line,
the
map
file
lists
the
i
j
names
and
load
addresses
of
all
public
symbols.
Segment
information
has
the
general
form
shown
in
this
example:
Start
Stop
Length
Name
Class
00000H
0172CH
0172DH
TEXT
CODE
01730H 01E19H 006EAH
DATA 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
0000H.
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
Group
0000:0
IGROUP
0173:0
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
/map
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:
t
j
Address Publics
by
Name
0000:1567
BRK
0000:1696
CHMOD
0000:01DB
CHKSTK
0000:131C
CLEARERR
,
.
0173:0035
FAC
w

Related product manuals