Re: [stella] Bit on / Bit off

Subject: Re: [stella] Bit on / Bit off
From: Thomas Jentzsch <tjentzsch@xxxxxx>
Date: Mon, 12 Apr 2004 09:54:46 +0200
Happy Dude wrote:
>The only thing is I don't know how to turn single bits on 
>and off. 

That's easy:

On:
  ora #(2^bit)

Off:
  and #~(2^bit)

Have fun!	
Thomas


----------------------------------------------------------------------------------------------
Archives (includes files) at http://www.biglist.com/lists/stella/archives/
Unsub & more at http://www.biglist.com/lists/stella/


Current Thread