1
0
mirror of https://gitlab.com/camelot/kickc.git synced 2024-11-27 19:50:10 +00:00

Added more missing fragments.

This commit is contained in:
jespergravgaard 2019-08-17 14:13:15 +02:00
parent fe745ec4ca
commit f51cef9c34
6 changed files with 40 additions and 1 deletions

View File

@ -0,0 +1,8 @@
lda {c1},x
clc
adc #1
sta {z1}
lda {c1}+1,x
adc #0
sta {z1}+1

View File

@ -0,0 +1,8 @@
lda {c1},y
clc
adc #1
sta {z1}
lda {c1}+1,y
adc #0
sta {z1}+1

View File

@ -0,0 +1,8 @@
lda {c1}+1,x
cmp {z1}+1
bcc {la1}
bne !+
lda {c1},x
cmp {z1}
bcc {la1}
!:

View File

@ -0,0 +1,8 @@
lda {c1}+1,y
cmp {z1}+1
bcc {la1}
bne !+
lda {c1},y
cmp {z1}
bcc {la1}
!:

View File

@ -0,0 +1,8 @@
lda {z1}+1
cmp {c1}+1,x
bcc {la1}
bne !+
lda {z1}
cmp {c1},x
bcc {la1}
!:

View File

@ -2,7 +2,6 @@ lda {z1}+1
cmp {c1}+1,y cmp {c1}+1,y
bcc {la1} bcc {la1}
bne !+ bne !+
dey
lda {z1} lda {z1}
cmp {c1},y cmp {c1},y
bcc {la1} bcc {la1}