can someone break down simply for me how to go about basic conditionals and instructions?
I'm so used to writing in high level instructions, all this lda, sta, jsr, Bne stuff is melting my mind. ..
i know what they stand for but dammit, I'm missing something. ..
for example, how would I write something like-
if (condition 1){player_y--}else {do this instead }
this of course is just simple movement logic, but i figure its as good a starting point to try to understand how to translate this down to asm..
or even to change states- if (key is down (key.a) && !jumping ){jumping=true;play jump animation }
how would simple things like this break down into asm?
I'm so used to writing in high level instructions, all this lda, sta, jsr, Bne stuff is melting my mind. ..
i know what they stand for but dammit, I'm missing something. ..
for example, how would I write something like-
if (condition 1){player_y--}else {do this instead }
this of course is just simple movement logic, but i figure its as good a starting point to try to understand how to translate this down to asm..
or even to change states- if (key is down (key.a) && !jumping ){jumping=true;play jump animation }
how would simple things like this break down into asm?