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 tutorial. 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 |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [stella] Bit on / Bit off, happy_dude | Thread | Re: [stella] Bit on / Bit off, happy_dude |
[stella] Re: About your tutorial, Christian Bogey | Date | Re: [stella] Re: About your tutoria, KirkIsrael |
Month |