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.
.CODE
◄Directive Summary► ◄Summary► ◄Example► ◄@code►
──────────────────────────────────────────────────────────────────────────────
Syntax: .CODE [name]
Indicates the start of a code segment and ends previous segment, if
any. The .MODEL directive must have previously been used. Each .CODE
directive generates an ASSUME statement associating CS with the
current segment.
name Optional parameter for medium, large, and huge models: uses
name_TEXT for the code segment name. If name is not
specified, the assembler generates the segment name _TEXT
(tiny, small, compact models) or module_TEXT (other models).
See Also: @code, .MODEL
-♦-