I'
I :
r
!
,---,
I ,
! '
I'
,
!
-'
Chapter
ii/Linking
Object Modules
The VM.TMP (Temporary) File
If
the
files to be linked create
an
output file
that
exceeds avail-
able memory,
the
linker
creates
a
temporary
file,
names
it
VM.TMP,
and
puts
it
on
the
disk
in
the
current
drive.
It
displays:
VM.TMP
has
been
created.
Do
not
change
dlskette
in
drive
x:
where x is
the
current
drive.
Once
this
message is displayed, you should not remove
the
disk
from
the
current
drive
until
the
link
session ends.
If
you
do
remove
the
disk,
the
operation of
the
linker is unpredictable and
the
following error message can occur:
Unexpected
end
of
file
on
VM.TMP
The contents of VM.TMP
are
written
to
the
file you name
at
the
Run F i 1
e:
prompt (see "Command Prompts"
in
this
chapter).
VM.TMP is a working file only;
the
linker deletes
it
automati-
cally
at
the
end of
the
linking
session.
Do
not use VM.TMP
as
a filename.
If
you have a file named
VM.TMP
on
the
current
drive,
the
linker will overwrite (destroy
it) should
it
create
its
own VM.TMP file.
Definitions
The following explanations of
the
terms
used
in
this
section will
help you understand how
the
linker works. Generally,
if
you
are
linking object modules compiled from BASIC, Pascal, or another
high level language, you
do
not need
this
information.
If
you
are
writing
and compiling programs
in
assembly language, however,
you
must
understand
the
linker and
the
following definitions.
(Chapter 12 also contains useful information
on
how
the
linker
works.)
237