1
0
mirror of https://gitlab.com/camelot/kickc.git synced 2025-08-11 02:25:17 +00:00

Added a few missing 16-bit fragments.

This commit is contained in:
jespergravgaard
2019-01-05 17:31:59 +01:00
parent aa109d236f
commit b4b4658696
3 changed files with 22 additions and 7 deletions

View File

@@ -0,0 +1,8 @@
lda {z1}
cmp {z2}
lda {z1}+1
sbc {z2}+1
bvc !+
eor #$80
!:
bpl {la1}

View File

@@ -0,0 +1,7 @@
lda {z1}+1
bne {la1}
lda {z1}
cmp #{c1}
beq !+
bcs {la1}
!:

View File

@@ -1,8 +1,8 @@
lda {z1} lda {z2}+1
cmp {z2} cmp {z1}+1
lda {z1}+1 bne !+
sbc {z2}+1 lda {z2}
bvc !+ cmp {z1}
eor #$80
!: !:
bpl {la1} bcc {la1}
beq {la1}