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.
SEGMENT
◄Directive Summary► ◄Summary► ◄Example►
──────────────────────────────────────────────────────────────────────────────
Syntax: name SEGMENT [align] [combine] ['class']
statements
name ENDS
Defines a program segment called name having optional segment attributes:
align, combine, use, and class. These attributes give the linker and
assembler information on how to set up and combine segments.
name Defines the name of the segment.
align PARA (default), BYTE, WORD, DWORD, or PAGE
combine PRIVATE (default), PUBLIC, STACK, COMMON, MEMORY, or AT address
class Can contain a valid symbolic name. The name has special meaning
to the linker, indicating a segment containing executable code.
See Also: ENDS, ASSUME, GROUP
-♦-