Date: Sun, 2 Aug 1998 16:27:34 +0300 (IDT) From: Eli Zaretskii To: Dr DOT Conan AT Technologist DOT com cc: djgpp AT delorie DOT com Subject: Re: Reading the carry flag In-Reply-To: <35C36AD1.3C0F5E82@mail.bip.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Precedence: bulk On Sat, 1 Aug 1998, Conan wrote: > Can anyone help read the Carryflag in a simple C example. > I tried to do the folowing: > if(Regs.x.flags & 1) > using the Union Regs in dpmi.h > > Will that work? Yes.