please dont rip this site
Interrupt 20h   DOS - Terminate Program
		(obsolete, see Int\21f\4C)
entry   no parameters 
return  The following vectors are restored from the Program Segment Prefix: 
        0Ah     Program Terminate 
        0Eh     Control-C 
        12h     Critical Error 
note	Officially frowned upon since the introduction of DOS 2.0

 This vector transfers to the logic in DOS to restore the terminate address,
the Ctrl-Break address, and the critical error exit address to the values they
had on entry to the program. All the file buffers are flushed and all handles
are closed. You should close all files changed in length (see Int\21f\10 and
Int\21f\3E) before issuing this interrupt. If the changed file is not closed,
its length, time, and date are not recorded correctly in the directory.

 For a program to pass a completion code or an error code when terminating, it
must use either Int\21f\4C (Terminate a Process) or Int\21f\31 (Terminate
Process and Stay Resident). These two methods are preferred over using int 20h
and the codes returned by them can be interrogated in batch processing.

Important: Before you issue an interrupt 20h, your program must ensure that the
	   CS register contains the segment of its program segment prefix.
	   (see Int\27 -CS must point)

See also:

file: /Techref/int/20.htm, 1KB, , updated: 1999/4/21 06:55, local time: 2018/2/17 13:24,

 ©2018 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions?
Please DO link to this page! Digg it! / MAKE! / 

<A HREF=""> int 20</A>

After you find an appropriate page, you are invited to your to this massmind site! (posts will be visible only to you before review) Just type in the box and press the Post button. (HTML welcomed, but not the <A tag: Instead, use the link box to link to another page. A tutorial is available Members can login to post directly, become page editors, and be credited for their posts.

Link? Put it here: 
if you want a response, please enter your email address: 
Attn spammers: All posts are reviewed before being made visible to anyone other than the poster.
Did you find what you needed?


Welcome to!


Welcome to!