INT 20h (32)             Terminate Program
 
    Terminates program execution.
 
       On entry:      CS         Segment address of PSP
 
       Returns:       Nothing
 
  --------------------------------------------------------------------------
 
    This function, equivalent in effect to Interrupt 21h, Function 00h,
    terminates the execution of a program and returns control to DOS,
    which restores the terminate, Ctrl-Break, and critical-error exit
    addresses from the PSP. CS must contain the segment address of the
    PSP, and all files written to by the program must be closed before
    Interrupt 20h is called.
 
       Notes:         It is best to use INT 21h Function 4Ch to exit from
                      '.exe' programs since Function 4Ch doesn't require
                      that CS point to the PSP.

Seealso:



This page last updated on Fri Nov 30 10:49:50 MSK 2001
Copyright © 1992-2001, Vitaly Filatov, Moscow, Russia
Webmaster