1
0
mirror of https://gitlab.com/camelot/kickc.git synced 2024-11-26 12:49:21 +00:00

Added missing fragments for Travis Fisher. Closes #585

This commit is contained in:
jespergravgaard 2020-12-06 02:06:47 +01:00
parent 50b8c78dfa
commit ee37ed3496
10 changed files with 50 additions and 4 deletions

View File

@ -0,0 +1,2 @@
lda {c1}+1,x
bpl {la1}

View File

@ -1,7 +1,7 @@
lda {c1},x
cmp {c2}
cmp #<{c2}
lda {c1}+1,x
sbc {c2}+1
sbc #>{c2}
bvc !+
eor #$80
!:

View File

@ -0,0 +1,2 @@
lda {c1}+1,y
bpl {la1}

View File

@ -1,7 +1,7 @@
lda {c1},y
cmp {c2}
cmp #<{c2}
lda {c1}+1,y
sbc {c2}+1
sbc #>{c2}
bvc !+
eor #$80
!:

View File

@ -0,0 +1,7 @@
clc
lda {c1},x
adc {c2},y
sta {m1}
lda {c1}+1,x
adc {c2}+1,y
sta {m1}+1

View File

@ -0,0 +1,7 @@
lda {m2}
clc
adc {c1},x
sta {m1}
lda {m2}+1
adc {c1}+1,x
sta {m1}+1

View File

@ -0,0 +1,7 @@
clc
lda {c1},y
adc {c2},x
sta {m1}
lda {c1}+1,y
adc {c2}+1,x
sta {m1}+1

View File

@ -0,0 +1,7 @@
lda {m2}
clc
adc {c1},y
sta {m1}
lda {m2}+1
adc {c1}+1,y
sta {m1}+1

View File

@ -0,0 +1,7 @@
lda {m2}
sec
sbc {c1},x
sta {m1}
lda {m2}+1
sbc {c1}+1,x
sta {m1}+1

View File

@ -0,0 +1,7 @@
lda {m2}
sec
sbc {c1},y
sta {m1}
lda {m2}+1
sbc {c1}+1,y
sta {m1}+1