Aw: Re: [stella] Bubble Sort

Subject: Aw: Re: [stella] Bubble Sort
From: cybergoth@xxxxxxxx
Date: Tue, 26 Mar 2002 10:10:44 +0100 (MET)
Hi Tim!

You said:
> The compare is the other way around! You have
> to change the branch condition.

But:
> >     LDY indextbl+1,X
> >     LDA ypos,Y
> >     STA tempVar2
> >     LDY indextbl,X
> >     LDA ypos,Y
> >     CMP tempVar2
> >     BPL NoSwap

Wouldn't that be:

LDA What ever indextbl,X is pointing to
CMP What ever indextbl+1,X is pointing to

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

And this too:
LDA What ever indextbl,X is pointing to
CMP What ever indextbl+1,X is pointing to

?!?!?!?
Sorry, I don't get it :-)

Greetings,
     Manuel


-----------------------------------------------------------------------
Riester-Rente - Kassieren Sie das Geld vom Staat:
Zum Förderungsrechner! http://www.arcor.de/home/redir.php/riesterrente
-----------------------------------------------------------------------

----------------------------------------------------------------------------------------------
Archives (includes files) at http://www.biglist.com/lists/stella/archives/
Unsub & more at http://www.biglist.com/lists/stella/


Current Thread