Message-ID: <35C36AD1.3C0F5E82@mail.bip.net> From: Conan Reply-To: Dr DOT Conan AT Technologist DOT com Organization: Apocalypse Inc. MIME-Version: 1.0 Newsgroups: comp.os.msdos.djgpp Subject: Reading the carry flag Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Lines: 7 Date: Sat, 01 Aug 1998 19:24:33 GMT NNTP-Posting-Host: 130.244.180.208 NNTP-Posting-Date: Sat, 01 Aug 1998 21:24:33 MET DST To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk 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?