1
0
mirror of https://gitlab.com/camelot/kickc.git synced 2024-11-23 08:32:39 +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
bne {la1}
lda {c1},x
ora {c1},x
bne {la1}

View File

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

View File

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

View File

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

View File

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

View File

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