1
0
mirror of https://gitlab.com/camelot/kickc.git synced 2024-11-29 18:49:42 +00:00

Finished better ASM fragment handling for pointer to pointer. Closes #484

This commit is contained in:
jespergravgaard 2020-07-01 23:38:28 +02:00
parent 50d034a5a2
commit 7f6b0a0e89
51 changed files with 22 additions and 30 deletions

View File

@ -1,4 +1,4 @@
//KICKC FRAGMENT CACHE 125a7c9d20
//KICKC FRAGMENT CACHE 1674dfb83d
//FRAGMENT vbuz1=vbuc1
lda #{c1}
sta {z1}

View File

@ -1,5 +0,0 @@
!:
lda {c2}-1,x
sta {c1}-1,x
dex
bne !-

View File

@ -1,5 +0,0 @@
!:
lda {c2}-1,x
sta {c1}-1,x
dex
bne !-

View File

@ -1,5 +0,0 @@
!:
lda {c2}-1,y
sta {c1}-1,y
dey
bne !-

View File

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

View File

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

View File

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

View File

@ -1,4 +0,0 @@
ldy {z1}
sty !+ +1
ldy #0
!: sta ($ff),y

View File

@ -1,5 +0,0 @@
lda {c1}
sta !+ +1
lda {c1}+1
sta !+ +2
!: lda {c1},x

View File

@ -1,5 +0,0 @@
lda {c1}
sta !+ +1
lda {c1}+1
sta !+ +2
!: lda {c1},y