mirror of
https://github.com/sehugg/8bitworkshop.git
synced 2024-11-29 14:51:17 +00:00
26 lines
316 B
Plaintext
26 lines
316 B
Plaintext
.scope Main
|
|
.zeropage
|
|
Xpos_x_b0:
|
|
.res 1
|
|
.res 1
|
|
.res 1
|
|
.res 1
|
|
.code
|
|
__Start:
|
|
|
|
;;; start action move 1 start
|
|
|
|
ldx #0
|
|
move__start__1____each:
|
|
|
|
lda Xpos_x_b0+2,x
|
|
|
|
inx
|
|
cpx #2
|
|
jne move__start__1____each
|
|
move__start__1____exit:
|
|
|
|
;;; end action move 1 start
|
|
|
|
.endscope
|
|
Main__Start = Main::__Start |