Subject: Re: [stella] ASM comparison question From: "B. Watson" <atari@xxxxxxxxxxxxxx> Date: Wed, 25 May 2005 11:16:52 -0400 |
On Wed, 25 May 2005, B. Watson wrote: Hate to reply to myself but I just noticed I posted some bogus code: > cmp #141 > bcc add9 ; if A < 141, continue... > bcs randomLoop ; else A >= 141, try again > > add9: ; at this point, A is 0-140 > adc #9 ; carry is known to be clear, we're really adding 9 > ; A is now 9-149, store it or whatever The `bcc add9' line is totally unnecessary.... I did say it's been a while, didn't I? -- B. Archives (includes files) at http://www.biglist.com/lists/stella/archives/ Unsub & more at http://stella.biglist.com
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [stella] ASM comparison questio, B. Watson | Thread | Re: [stella] ASM comparison questio, Dennis Debro |
Re: [stella] ASM comparison questio, B. Watson | Date | Re: [stella] sample of Atari sounds, Adam Wozniak |
Month |