Re: [stella] Bit on / Bit off

Subject: Re: [stella] Bit on / Bit off
From: Thomas Jentzsch <tjentzsch@xxxxxx>
Date: Mon, 12 Apr 2004 11:49:47 +0200
Happy Dude wrote:

>Thanks I'll try that out.
>so :
>	lda Mask (%00001010)
>	ora NewBits (%00000100)
>Should turn bit 3 on. Will it affect the other bits?

No, the result will be %00001110.

This is binary logic, IIRC Andrew has described that in his newbie 

Have fun!	

Archives (includes files) at
Unsub & more at

Current Thread