Date: Thu, 19 Sep 1996 13:14:05 +0200 (IST) From: Eli Zaretskii To: "John M. Aldrich" Cc: djgpp-workers AT delorie DOT com Subject: Re: "djverify" - DJGPP Installation Diagnostic Program In-Reply-To: <3240C0FD.759F@cs.com> Message-Id: Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On Wed, 18 Sep 1996, John M. Aldrich wrote: > of assembly. :) I have examined the stub.asm code, and while most of > it is comprehensible, it still doesn't give me any clues on how to > return system exit codes in assembly. [snip] > exit: > mov bx, crlfdollar > call printstr > mov ax, 0x4cff ; error exit > int 0x21 There's nothing easier. The value you load into AL when you call Int 21h/AH=4Ch is the exit code (FFh in the above snippet). Just load AL to a different value for every problem that the stub tests.