Originally posted by Helder
View Post
Originally posted by Dybbles
View Post
Code:
@ Demonstration Code that can be cleaned up, of course... [COLOR=#008000]ldr r0, x_coordinate ldr r0, [r0][/COLOR] @ Some button check for right bne moveLeft [COLOR=#008000]add r0, r0, #SOME_VALUE[/COLOR] moveLeft: @ Some button check for left bne moveSomeWhereElse [COLOR=#008000]sub r0, r0, #SOME_VALUE[/COLOR] ...
Comment