Re: [stella] Bubble Sort

Subject: Re: [stella] Bubble Sort
From: Manuel Polik <cybergoth@xxxxxxxx>
Date: Tue, 26 Mar 2002 00:55:05 +0100
Hi Thomas!

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


    LDY indextbl,X
    LDA ypos,Y
    LDY indextbl+1,X
    CMP ypos,Y
    BPL NoSwap

both of which should be equivalent, or?

Is that magic or do I need sleep? :-)

Anything wrong with CMP ypos,Y ?!?


Archives (includes files) at
Unsub & more at

Current Thread