From b446d4d64b475f707d8c3cc30e317916be34c9ae Mon Sep 17 00:00:00 2001 From: jespergravgaard Date: Sat, 8 Jan 2022 13:50:11 +0100 Subject: [PATCH] added missing fragments. closes #751 --- .../pbsm1_derefidx_vbuc1=pbsm1_derefidx_vbuyy.asm | 7 +++++++ .../pbum1_derefidx_vbuc1=pbum1_derefidx_vbuyy.asm | 7 +++++++ 2 files changed, 14 insertions(+) create mode 100644 src/main/fragment/mos6502-common/pbsm1_derefidx_vbuc1=pbsm1_derefidx_vbuyy.asm create mode 100644 src/main/fragment/mos6502-common/pbum1_derefidx_vbuc1=pbum1_derefidx_vbuyy.asm diff --git a/src/main/fragment/mos6502-common/pbsm1_derefidx_vbuc1=pbsm1_derefidx_vbuyy.asm b/src/main/fragment/mos6502-common/pbsm1_derefidx_vbuc1=pbsm1_derefidx_vbuyy.asm new file mode 100644 index 000000000..85473a61f --- /dev/null +++ b/src/main/fragment/mos6502-common/pbsm1_derefidx_vbuc1=pbsm1_derefidx_vbuyy.asm @@ -0,0 +1,7 @@ +lda {m1} +sta $fe +lda {m1}+1 +sta $ff +lda ($fe),y +ldy #{c1} +sta ($fe),y \ No newline at end of file diff --git a/src/main/fragment/mos6502-common/pbum1_derefidx_vbuc1=pbum1_derefidx_vbuyy.asm b/src/main/fragment/mos6502-common/pbum1_derefidx_vbuc1=pbum1_derefidx_vbuyy.asm new file mode 100644 index 000000000..85473a61f --- /dev/null +++ b/src/main/fragment/mos6502-common/pbum1_derefidx_vbuc1=pbum1_derefidx_vbuyy.asm @@ -0,0 +1,7 @@ +lda {m1} +sta $fe +lda {m1}+1 +sta $ff +lda ($fe),y +ldy #{c1} +sta ($fe),y \ No newline at end of file