1
0
mirror of https://gitlab.com/camelot/kickc.git synced 2024-11-02 06:05:57 +00:00

Optimized tests from @IcePic. Closes #514

This commit is contained in:
jespergravgaard 2020-12-06 11:46:31 +01:00
parent deba5a27c4
commit 6c8c63f7b1
6 changed files with 7 additions and 14 deletions

View File

@ -1,4 +1,3 @@
lda {c1}+1,x lda {c1}+1,x
bne {la1} ora {c1},x
lda {c1},x
bne {la1} bne {la1}

View File

@ -1,4 +1,3 @@
lda {c1},y lda {c1},y
ora {c1}+1,y ora {c1}+1,y
cmp #0 beq {la1}
beq {la1}

View File

@ -1,4 +1,3 @@
lda {c1}+1,y lda {c1}+1,y
bne {la1} ora {c1},y
lda {c1},y
bne {la1} bne {la1}

View File

@ -1,4 +1,3 @@
lda {m1}+1 lda {m1}+1
bne {la1} ora {m1}
lda {m1}
bne {la1} bne {la1}

View File

@ -1,5 +1,3 @@
lda {m1} lda {m1}
bne !+ ora {m1}+1
lda {m1}+1 beq {la1}
beq {la1}
!:

View File

@ -1,4 +1,3 @@
lda {m1} lda {m1}
bne {la1} ora {m1}+1
lda {m1}+1
bne {la1} bne {la1}