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.
.STARTUP
◄Directive Summary► ◄Summary► ◄Example►
──────────────────────────────────────────────────────────────────────────────
Syntax: .STARTUP
Generates startup code for the given model and stack type (default is
nearStack) defined by .MODEL. Initializes DS, SS, and SP as needed.
Defines a start-address label, so that you don't need to give a start
address with END. Use only for stand-alone programs.
With TINY model, .STARTUP also generates ORG 100h.
If you use the .STARTUP directive, you should also use the .EXIT
directive at the end of the program. Otherwise, the assembler
generates an advisory warning.
See Also: .MODEL, END, ORG, .EXIT
-♦-