delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/02/08/20:28:58.1

Sender: nate AT cartsys DOT com
Message-ID: <36BF9036.5CC283B9@cartsys.com>
Date: Mon, 08 Feb 1999 17:32:38 -0800
From: Nate Eldredge <nate AT cartsys DOT com>
X-Mailer: Mozilla 4.08 [en] (X11; I; Linux 2.0.36 i586)
MIME-Version: 1.0
To: djgpp AT delorie DOT com
Subject: Re: How to check the carry flag?
References: <79nj9q$41pu$1 AT news-inn DOT inet DOT tele DOT dk>
Reply-To: djgpp AT delorie DOT com

Ole Laursen wrote:
> 
> Hello!
> 
> I have just tried to launch my first interrupt with __djgpp_int(...). It
> works great, but how do you check the carry flag (which is set by the
> interrupt to indicate success and failure) in __dpmi_regs.flags? I guess
> there are some #defined values, but I wasn't capable of finding them in the
> 'dpmi.h'eader.

The carry flag is the low bit.
-- 

Nate Eldredge
nate AT cartsys DOT com

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019