From: "Andrew Davidson" Newsgroups: comp.os.msdos.djgpp Subject: Setting Zero, Sign, and Overflow flag bits Date: Sat, 27 Feb 1999 08:01:51 -0000 Organization: Customer of Planet Online Lines: 12 Message-ID: <7bat8n$8kh$2@news4.svr.pol.co.uk> NNTP-Posting-Host: modem-49.lidocaine.dialup.pol.co.uk X-Trace: news4.svr.pol.co.uk 920189015 8849 62.136.60.49 (28 Feb 1999 08:03:35 GMT) NNTP-Posting-Date: 28 Feb 1999 08:03:35 GMT X-Complaints-To: abuse AT theplanet DOT net X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.00.0810.800 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.0810.800 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Using asm(); I need to set the above flag bits to known values. However, these values are likely to change each time I attempt to set them. Is there any opcode that can set/reset these flags, and if not, is there any code which could set/reset each of them, depending on the result of a 'bt' op, without affecting the other flags. I can set them in any order you like if that helps. Any help would be greatly appreciated. Andrew