INT 20h - Program terminate
This is one of several calls by which a program can terminate
execution. It informs DOS that the program is complete and that
occupied memory should be released.
Action:
On execution the call restores vectors
for INTs 22h to 24h from the program's PSP, flushes any
buffers and transfers control to the terminate handler
address.
On
entry:
CS = Segment address of PSP
Returns:
Nothing
Notes:
The preferred termination method is INT
21h function 4Ch. Since this call has a memory addressing
limit of 16 bits, (64k bytes) it is of limited use, and
cannot be used in an EXE program.