Download Print this page

Motorola EXORdisk II User Manual page 188

Advertisement

CHAPTER 19
19.
MERGE COMMAND
The
MERGE
command
allows
one
or
more
riles
to be
concatenated into a new file.
This
command
is
useful
in
combining
several smaller program files into one large rilel
or
in
building
relocatable
libraries
to
be
used
in
conjunction with the M6800 Linking Loader (RLOAD).
19. 1 Use
ihe
MERGE command is invoked with the
~ollowing
command
1
ine:
MERGE <name l>C,<name 2/, ... ,<name n>J, <dname>Ci <options>J
where <name
i>
(i=1 to
n)
are the names
Or
the
files
to
be
merged togetherl <dname> is the name of the destination file,
and (options> can be one or both or the options listed below.
A
maximum
of
38
(decimal)
file
names can be accommodated
by
the MERGE command.
Option
Function
W
Use automatic
overwrite
if
destination
file already exists on diskette.
<addr>
Use
hexadecimal
<addr>
as
starting
execution address of destination file.
The <options>
are
described
sections.
in
detail
in
the
following
Only
<name
1:>
and <dname) are required.
All
file name
specifications on the MERGE
command
line
must
contain
at
lea s t a f
i
1
e n a me.
For
a 11
<name
i
::>
I
the
d
e fa
u 1
t Sur
of
i
x
If
SA "
and the default logical unit number zero will be used
if
none
are
explicitly
given.
The
defa~lt
suffix and logical unit
numbe~
for <dname::> are taken from <name 1>.
MERGE will
pe~fo~m
two different functions depending
on
wh
eth er
<dname::>
is
th
e same as <name 1> or not.
If <dname>
is different from <name
1::>,
then all of the
files
specified
by
<name
i::>
will
be
combined
into
the destination file
<dname::>.
Each of the <name i::> files will remain
unaffected.
If
<dname::> is th e same a s <name
1),
however,
th en MERGE wi
11
append the files specified by <name 2::> through
<name
n>
to
the
end
of the file <name
1>.
In' this case,
the file <name
Page
19-01

Advertisement

loading

This manual is also suitable for:

Exordisk iii