cvs.gedasymbols.org/archives/browse.cgi   search  
Mail Archives: djgpp/1999/02/28/20:11:50

Sender: nate AT cartsys DOT com
Message-ID: <36D9C4BB.2E577255@cartsys.com>
Date: Sun, 28 Feb 1999 14:35:39 -0800
From: Nate Eldredge <nate AT cartsys DOT com>
X-Mailer: Mozilla 4.08 [en] (X11; I; Linux 2.2.1 i586)
MIME-Version: 1.0
To: djgpp AT delorie DOT com
Subject: Re: Setting Zero, Sign, and Overflow flag bits
References: <7bat8n$8kh$2 AT news4 DOT svr DOT pol DOT co DOT uk>
Reply-To: djgpp AT delorie DOT com

Andrew Davidson wrote:
> 
> 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.

pushf/popf?
-- 

Nate Eldredge
nate AT cartsys DOT com

- Raw text -


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