delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/02/05/00:59:40.1

Date: Fri, 5 Feb 1999 04:18:33 +0100
From: anarko <anarko AT flashback DOT net>
X-Mailer: The Bat! (v1.19) S/N 9FA473A9
X-Priority: 3 (Normal)
Message-ID: <9179.990205@flashback.net>
To: Paul Derbyshire <djgpp AT delorie DOT com>
Subject: Re[4]: what is wrong with this?
References: <3 DOT 0 DOT 6 DOT 32 DOT 19990203235100 DOT 008de100 AT pop DOT netaddress DOT com>
Mime-Version: 1.0
Reply-To: djgpp AT delorie DOT com

>>Oops. Someone made a boo-boo. That should definitely have been 0xDF.

> Oops oops. That will give 11011111, but that's actually bit 5... 0xBF will
> give 10111111, which is what you & with to reset bit 6.
> This is using the covention that the right most bit is bit 0, someone may
> have been calling it bit 1...

since age of 9 huh :-)
thanks, but i need a flexible routine like the one i posted earlier,
you said it was too complex, but it really lets you specify wich bit
to set/reset :)

/anarko <anarko AT flashback DOT net>


- Raw text -


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