Subject: Re: [stella] Bubble Sort From: "Tim Boescke" <t.boescke@xxxxxxxxxxxxx> Date: Mon, 25 Mar 2002 19:18:32 -0500 |
> Now that is strange... > I tried following your changes. Replacing the TAYs is > fine. The error is introduced, when stepping from > > LDY indextbl+1,X > LDA ypos,Y > STA tempVar2 > LDY indextbl,X > LDA ypos,Y > CMP tempVar2 > BPL NoSwap > > to > > LDY indextbl,X > LDA ypos,Y > LDY indextbl+1,X > CMP ypos,Y > BPL NoSwap > > both of which should be equivalent, or? The compare is the other way around! You have to change the branch condition. ---------------------------------------------------------------------------------------------- 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] Bubble Sort, Manuel Polik | Thread | Re: [stella] Bubble Sort, Manuel Polik |
Re: [stella] Bubble Sort, Manuel Polik | Date | Re: [stella] Bubble Sort, Tim Boescke |
Month |