Subject: Re: [stella] Bit on / Bit off From: happy_dude@xxxxxxxxxxxxx Date: Mon, 12 Apr 2004 10:49:11 +0200 |
Thomas Jentzsch wrote: > That's easy: > > On: > ora #(2^bit) > > Off: > and #~(2^bit) Thanks I'll try that out. so : lda Mask (%00001010) ora NewBits (%00000100) Should turn bit 3 on. Will it affect the other bits? ---------------------------------------------------------------------------------------------- Archives (includes files) at http://www.biglist.com/lists/stella/archives/ Unsub & more at http://www.biglist.com/lists/stella/
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [stella] Bit on / Bit off, Thomas Jentzsch | Thread | Re: [stella] Bit on / Bit off, Thomas Jentzsch |
Re: [stella] Bit on / Bit off, Thomas Jentzsch | Date | [stella] Re: About your tutorial, Christian Bogey |
Month |