From 1662d491a3ac72c09832ba2118d5853706e71d86 Mon Sep 17 00:00:00 2001 From: jespergravgaard Date: Sun, 2 Jan 2022 11:22:44 +0100 Subject: [PATCH] added missing fragment --- ...refidx_vbuyy=pwsz1_derefidx_vbuyy_plus_vbsm2.asm | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 src/main/fragment/mos6502-common/pwsz1_derefidx_vbuyy=pwsz1_derefidx_vbuyy_plus_vbsm2.asm diff --git a/src/main/fragment/mos6502-common/pwsz1_derefidx_vbuyy=pwsz1_derefidx_vbuyy_plus_vbsm2.asm b/src/main/fragment/mos6502-common/pwsz1_derefidx_vbuyy=pwsz1_derefidx_vbuyy_plus_vbsm2.asm new file mode 100644 index 000000000..42b4e9e05 --- /dev/null +++ b/src/main/fragment/mos6502-common/pwsz1_derefidx_vbuyy=pwsz1_derefidx_vbuyy_plus_vbsm2.asm @@ -0,0 +1,13 @@ +lda {m2} +sta $ff +clc +adc ({z1}),y +sta ({z1}),y +iny +lda $ff +ora #$7f +bmi !+ +lda #0 +!: +adc ({z1}),y +sta ({z1}),y \ No newline at end of file