From 134b9367af26833c40ed5a12f0d4fa28e9dba80c Mon Sep 17 00:00:00 2001 From: jespergravgaard Date: Wed, 22 Dec 2021 08:42:38 +0100 Subject: [PATCH] added missing fragment. closes #736 --- .../mos6502-common/vwsm1=_deref_pwsz2_plus_vwsm3.asm | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 src/main/fragment/mos6502-common/vwsm1=_deref_pwsz2_plus_vwsm3.asm diff --git a/src/main/fragment/mos6502-common/vwsm1=_deref_pwsz2_plus_vwsm3.asm b/src/main/fragment/mos6502-common/vwsm1=_deref_pwsz2_plus_vwsm3.asm new file mode 100644 index 000000000..67e529e14 --- /dev/null +++ b/src/main/fragment/mos6502-common/vwsm1=_deref_pwsz2_plus_vwsm3.asm @@ -0,0 +1,9 @@ +ldy #0 +lda ({z2}),y +clc +adc {m3} +sta {m1} +iny +lda ({z2}),y +adc {m3}+1 +sta {m1}+1