.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
-♦-