www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/08/01/15:45:26

Message-ID: <35C36AD1.3C0F5E82@mail.bip.net>
From: Conan <Dr DOT Conan AT mail DOT bip DOT net>
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
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

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?

- Raw text -


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