1
0
mirror of https://gitlab.com/camelot/kickc.git synced 2024-12-28 16:31:36 +00:00

Added missing fragments for Travis Fisher

This commit is contained in:
jespergravgaard 2020-12-06 01:43:36 +01:00
parent 1b283b3084
commit f1605bb085
12 changed files with 70 additions and 0 deletions

View File

@ -0,0 +1,7 @@
clc
lda {m3}+1
adc {m2}
sta {m1}
lda #0
adc {m2}+1
sta {m1}+1

View File

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

View File

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

View File

@ -0,0 +1,8 @@
lda {c1},x
cmp {c2}
lda {c1}+1,x
sbc {c2}+1
bvc !+
eor #$80
!:
bmi {la1}

View File

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

View File

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

View File

@ -0,0 +1,8 @@
lda {c1},y
cmp {c2}
lda {c1}+1,y
sbc {c2}+1
bvc !+
eor #$80
!:
bmi {la1}

View File

@ -0,0 +1 @@
ora {m1}+1

View File

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

View File

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

View File

@ -0,0 +1,7 @@
sec
lda #<{c1}
sbc {c2},x
sta {m1}
lda #>{c1}
sbc {c2}+1,x
sta {m1}+1

View File

@ -0,0 +1,7 @@
sec
lda #<{c1}
sbc {c2},y
sta {m1}
lda #>{c1}
sbc {c2}+1,y
sta {m1}+1