LINK Help (linkx.hlp) (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
/DSALLOC Option
                                             Up Contents Index Back
─────/DSALLOC Option────────────────────────────────────────────────────────
 
     Syntax:  /DS[ALLOCATE]
 
     The /DSALLOC option tells LINK to load all data starting at the
     high end of the data segment. When /DSALLOC is used, the DS (data
     segment) register is set at run time to the lowest data-segment
     address that contains program data.
 
     By default, LINK loads all data starting at the low end of the
     data segment. At run time, DS is set to the lowest possible
     address to allow the entire data segment to be used.
 
     /DSALLOC is mainly used with the /HIGH option to take advantage of
     unused memory within the data segment. These options are valid
     only for assembly-language programs that create DOS .EXE files.
     See: /HIGH Option
                                    -♦-