◄Directive Summary► ◄Summary► ◄Example► ────────────────────────────────────────────────────────────────────────────── Syntax: .EXIT [exitcode] Generates a call to interrupt 21H, function 4CH, to exit from the program. Use of the optional exitcode parameter returns an exit code to DOS. The .MODEL directive must have previously been used. This directive should be used in any module that uses the .STARTUP directive; the assembler generates an advisory warning if you use .STARTUP without using .EXIT. exitcode Optional return code. Can be a byte-sized register, memory location or constant. The .EXIT directive moves this value into AL. See Also: .STARTUP -♦-