[<<Previous Entry]
[^^Up^^]
[Next Entry>>]
[Menu]
[About The Guide]
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
4Ch
This page created by ng2html v1.05, the Norton guide to HTML conversion utility.
Written by Dave Pearson