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.

See also: 00h
See also: 4Ch

INT 20h (32) Terminate Program