From: "Ole Laursen" <98zOLaw AT aalborghus DOT dk> Newsgroups: comp.os.msdos.djgpp Subject: How to check the carry flag? Date: Mon, 8 Feb 1999 22:02:25 +0100 Lines: 17 Message-ID: <79nj9q$41pu$1@news-inn.inet.tele.dk> NNTP-Posting-Host: ip91.abnxr1.ras.tele.dk X-Trace: news-inn.inet.tele.dk 918507642 132926 (None) 195.249.114.91 (08-02-99 21:00:42 GMT) X-Newsreader: Microsoft Outlook Express 4.72.2106.4 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.2106.4 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com 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. [help!] :-( CUL8 -- Ole Laursen - Aalborg, Denmark - 98zOLaw AT aalborghus DOT dk When do you want to crash today?