Assembly Language Help (alang.hlp) (Table of Contents; Topic list)
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.
Int 21h Function 4Ch
 ◄Detail► ◄Example►                          ◄Up► ◄Contents► ◄Index► ◄Back►
────────────────────────────────────────────────────────────────────────────
 
  Interrupt:   21h     Function:   4Ch
 
  Title:       Terminate Process with Return Code
 
  See also:    @Exit
 
  Description:
 
     Terminates the current process, passing a return code to the
     parent process. This is one of several methods that a program can
     use to perform a final exit.
 
     If you use the .STARTUP directive, you should also use the .EXIT
     directive, which automatically generates code to call this
     function.
 
     Input                Output
 
     AH = 4Ch             None
     AL = Return code
                                    -♦-