From 45410860ad8c2364245aff78b1ddaf56ea78f4ab Mon Sep 17 00:00:00 2001 From: jespergravgaard Date: Thu, 5 Aug 2021 16:29:34 +0200 Subject: [PATCH] Added a few missing fragments. --- src/main/fragment/mos6502-common/_deref_qvoz1=vbuaa.asm | 5 +++++ src/main/fragment/mos6502-common/_deref_qvoz1=vwum2.asm | 6 ++++++ .../fragment/mos6502-common/_deref_qvoz1_eq_0_then_la1.asm | 7 +++++++ 3 files changed, 18 insertions(+) create mode 100644 src/main/fragment/mos6502-common/_deref_qvoz1=vbuaa.asm create mode 100644 src/main/fragment/mos6502-common/_deref_qvoz1=vwum2.asm create mode 100644 src/main/fragment/mos6502-common/_deref_qvoz1_eq_0_then_la1.asm diff --git a/src/main/fragment/mos6502-common/_deref_qvoz1=vbuaa.asm b/src/main/fragment/mos6502-common/_deref_qvoz1=vbuaa.asm new file mode 100644 index 000000000..5d5c9be0e --- /dev/null +++ b/src/main/fragment/mos6502-common/_deref_qvoz1=vbuaa.asm @@ -0,0 +1,5 @@ +ldy #0 +sta ({z1}),y +lda #0 +iny +sta ({z1}),y \ No newline at end of file diff --git a/src/main/fragment/mos6502-common/_deref_qvoz1=vwum2.asm b/src/main/fragment/mos6502-common/_deref_qvoz1=vwum2.asm new file mode 100644 index 000000000..00a1112f0 --- /dev/null +++ b/src/main/fragment/mos6502-common/_deref_qvoz1=vwum2.asm @@ -0,0 +1,6 @@ +ldy #0 +lda {m2} +sta ({z1}),y +iny +lda {m2}+1 +sta ({z1}),y \ No newline at end of file diff --git a/src/main/fragment/mos6502-common/_deref_qvoz1_eq_0_then_la1.asm b/src/main/fragment/mos6502-common/_deref_qvoz1_eq_0_then_la1.asm new file mode 100644 index 000000000..80bba1aa9 --- /dev/null +++ b/src/main/fragment/mos6502-common/_deref_qvoz1_eq_0_then_la1.asm @@ -0,0 +1,7 @@ +ldy #0 +lda ({z1}),y +bne !+ +iny +lda ({z1}),y +beq {la1} +!: \ No newline at end of file