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.
Naming and Organizing Segments (/ND, /NM, /NT)
◄Up► ◄Contents► ◄Index► ◄Back►
─────Naming and Organizing Segments (/ND, /NM, /NT)─────────────────────────
Syntax: /NT textsegment
/ND datasegment
/NM textsegment
The <textsegment> and <datasegment> arguments can be any
combination of letters and digits.
A program's text segment name and data segment name are normally
assigned by the compiler.
The linker uses segment names to define the order in which the
segments of the program appear in memory when loaded for
execution. Segments with the same name (both module and suffix)
are loaded into the same physical memory segment.
The /NT (nametext) and /ND (namedata) options override the
default names supplied by the compiler. You can, therefore,
ensure that two modules are loaded into the same memory segment.
-♦-