RE: [stella] Help Interpreting Code

Subject: RE: [stella] Help Interpreting Code
From: Nicolás Olhaberry <nolh@xxxxxxxxxxxxx>
Date: Sat, 13 Jul 2002 20:37:09 -0300
----- Original Message -----
From: Roagie <roagie@xxxxxxx>
To: <stella@xxxxxxxxxxx>
Sent: Saturday, July 13, 2002 3:35 PM
Subject: [stella] Help Interpreting Code

> LoadGrfx
>      STA WSYNC
>      DEY              ; Y = Y - 1
>      CPY vertPos     ; compare vertPos and Y, returns 1 if they are the
>      BNE sprite1     ; if Y = vertPos, then branch

BNE stands for Branch if not equal, so the branch will be taken unless
vertPos it´s equal to Y. If you trace the code with this in mind you´ll
notice that it makes sense ;-D



Archives (includes files) at
Unsub & more at

Current Thread