mirror of
https://gitlab.com/camelot/kickc.git
synced 2024-12-28 16:31:36 +00:00
Added missing fragments from @mark.j.fisher.See #550
This commit is contained in:
parent
d9fab8eb23
commit
b79425ee48
@ -0,0 +1,4 @@
|
||||
ldx {m2}+1
|
||||
bne {la1}
|
||||
cmp {m2}
|
||||
bcc {la1}
|
@ -0,0 +1,5 @@
|
||||
lda {m2}+1
|
||||
bne {la1}
|
||||
lda {m1}
|
||||
cmp {m2}
|
||||
bcc {la1}
|
@ -0,0 +1,9 @@
|
||||
lda {m1}+1
|
||||
bmi !+
|
||||
cmp {m2}+1
|
||||
bcs {la1}
|
||||
beq {la1}
|
||||
lda {m2}
|
||||
cmp {m1}
|
||||
bcc {la1}
|
||||
!:
|
@ -0,0 +1,9 @@
|
||||
lda {m1}+1
|
||||
bmi {la1}
|
||||
cmp {m2}+1
|
||||
bcc {la1}
|
||||
bne !+
|
||||
lda {m1}
|
||||
cmp {m2}
|
||||
bcc {la1}
|
||||
!:
|
11
src/main/fragment/mos6502-common/vwum1=vbuaa_rol_vbuxx.asm
Normal file
11
src/main/fragment/mos6502-common/vwum1=vbuaa_rol_vbuxx.asm
Normal file
@ -0,0 +1,11 @@
|
||||
sta {m1}
|
||||
lda #0
|
||||
sta {m1}+1
|
||||
cpx #0
|
||||
beq !e+
|
||||
!:
|
||||
asl {m1}
|
||||
rol {m1}+1
|
||||
dex
|
||||
bne !-
|
||||
!e:
|
11
src/main/fragment/mos6502-common/vwum1=vbuaa_rol_vbuyy.asm
Normal file
11
src/main/fragment/mos6502-common/vwum1=vbuaa_rol_vbuyy.asm
Normal file
@ -0,0 +1,11 @@
|
||||
sta {m1}
|
||||
lda #0
|
||||
sta {m1}+1
|
||||
cpy #0
|
||||
beq !e+
|
||||
!:
|
||||
asl {m1}
|
||||
rol {m1}+1
|
||||
dey
|
||||
bne !-
|
||||
!e:
|
12
src/main/fragment/mos6502-common/vwum1=vwuc1_rol_vbuxx.asm
Normal file
12
src/main/fragment/mos6502-common/vwum1=vwuc1_rol_vbuxx.asm
Normal file
@ -0,0 +1,12 @@
|
||||
lda #<{c1}
|
||||
sta {m1}
|
||||
lda #>{c1}+1
|
||||
sta {m1}+1
|
||||
cpx #0
|
||||
beq !e+
|
||||
!:
|
||||
asl {m1}
|
||||
rol {m1}+1
|
||||
dex
|
||||
bne !-
|
||||
!e:
|
12
src/main/fragment/mos6502-common/vwum1=vwuc1_rol_vbuyy.asm
Normal file
12
src/main/fragment/mos6502-common/vwum1=vwuc1_rol_vbuyy.asm
Normal file
@ -0,0 +1,12 @@
|
||||
lda #<{c1}
|
||||
sta {m1}
|
||||
lda #>{c1}+1
|
||||
sta {m1}+1
|
||||
cpy #0
|
||||
beq !e+
|
||||
!:
|
||||
asl {m1}
|
||||
rol {m1}+1
|
||||
dey
|
||||
bne !-
|
||||
!e:
|
@ -0,0 +1,6 @@
|
||||
lda {m1}
|
||||
and {m2}
|
||||
sta {m1}
|
||||
lda {m1}+1
|
||||
and {m2}+1
|
||||
sta {m1}+1
|
@ -0,0 +1,4 @@
|
||||
and {m2}
|
||||
sta {m1}
|
||||
lda #0
|
||||
sta {m1}+1
|
Loading…
Reference in New Issue
Block a user