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