From 994ebcadd361189bf31f9f32361d261b39950060 Mon Sep 17 00:00:00 2001 From: Jesper Gravgaard Date: Mon, 22 Jul 2024 08:55:08 +0200 Subject: [PATCH] Added two missing fragments --- .../mos6502-common/vwum1=_deref_pwuz2_ror_3.asm | 12 ++++++++++++ .../mos6502-common/vwuz1=_deref_pwuz1_ror_3.asm | 14 ++++++++++++++ 2 files changed, 26 insertions(+) create mode 100644 src/main/fragment/mos6502-common/vwum1=_deref_pwuz2_ror_3.asm create mode 100644 src/main/fragment/mos6502-common/vwuz1=_deref_pwuz1_ror_3.asm diff --git a/src/main/fragment/mos6502-common/vwum1=_deref_pwuz2_ror_3.asm b/src/main/fragment/mos6502-common/vwum1=_deref_pwuz2_ror_3.asm new file mode 100644 index 000000000..0ba2a1262 --- /dev/null +++ b/src/main/fragment/mos6502-common/vwum1=_deref_pwuz2_ror_3.asm @@ -0,0 +1,12 @@ +ldy #1 +lda ({z2}),y +lsr +sta {m1}+1 +dey +lda ({z2}),y +ror +sta {m1} +lsr {m1}+1 +ror {m1} +lsr {m1}+1 +ror {m1} \ No newline at end of file diff --git a/src/main/fragment/mos6502-common/vwuz1=_deref_pwuz1_ror_3.asm b/src/main/fragment/mos6502-common/vwuz1=_deref_pwuz1_ror_3.asm new file mode 100644 index 000000000..97dd33b8d --- /dev/null +++ b/src/main/fragment/mos6502-common/vwuz1=_deref_pwuz1_ror_3.asm @@ -0,0 +1,14 @@ +ldy #1 +lda ({z1}),y +lsr +pha +dey +lda ({z1}),y +ror +sta {z1} +pla +sta {z1}+1 +lsr {z1}+1 +ror {z1} +lsr {z1}+1 +ror {z1}