Commodore PC Ms-Dos 3.2 User's Manual page 271

Table of Contents

Advertisement

n
Link: A Linker 199
n
n
n
n
n
n
n
Examples:
The first example sets the maximum allocation to 15 paragraphs:
link
file/c:15,,;
The second example sets the maximum allocation to 255 (FFH)
paragraphs:
link
moda+modb,run/cparmaxalloc:Oxff,ab;
The final example sets the maximum allocation to 24 (30 octal)
paragraphs:
link
startup+file,/c:030,;
Setting a High Start Address
Syntax:
/high
The /high option sets a program's starting address to the highest
possible address in free memory. If you don't use the /high
option, link sets the program's starting address as low as possible
in memory.
Minimum abbreviation: /h
Example:
This example sets the starting address of the program in file, exe
to the highest possible address in free memory:
link
startup+file/high,,;
Allocating a Data Group
Syntax:
/dsallocate
The /dsallocate option directs the linker to reverse its normal
processing when assigning addresses to items belonging to the
group named DGROUP. Normally, link assigns the offset 0000H
to the lowest byte in a group. If you use /dsallocate, link assigns
the offset FFFFH to the highest byte in the group. The result is
data that appear to be loaded as high as possible in the memory
segment containing DGROUP.
The /high option
The /dsallocate option

Advertisement

Table of Contents
loading

Table of Contents