From e15c02839dad902657cc27e7640c41ee61a4025a Mon Sep 17 00:00:00 2001 From: jespergravgaard Date: Sat, 2 Apr 2022 10:24:24 +0200 Subject: [PATCH] Added some fragments. --- .../vbuaa=pbuc1_derefidx_(pbuz1_derefidx_vbuyy)_rol_6.asm | 7 +++++++ .../vbuaa=pbuc1_derefidx_(pbuz1_derefidx_vbuyy)_ror_2.asm | 5 +++++ .../vbuaa=pbuc1_derefidx_(pbuz1_derefidx_vbuyy)_ror_4.asm | 7 +++++++ ...uaa=vbuaa_bor_pbuc1_derefidx_(pbuz1_derefidx_vbuyy).asm | 5 +++++ ...uaa=vbuz1_bor_pbuc1_derefidx_(pbuz2_derefidx_vbuyy).asm | 4 ++++ 5 files changed, 28 insertions(+) create mode 100644 src/main/fragment/mos6502-common/vbuaa=pbuc1_derefidx_(pbuz1_derefidx_vbuyy)_rol_6.asm create mode 100644 src/main/fragment/mos6502-common/vbuaa=pbuc1_derefidx_(pbuz1_derefidx_vbuyy)_ror_2.asm create mode 100644 src/main/fragment/mos6502-common/vbuaa=pbuc1_derefidx_(pbuz1_derefidx_vbuyy)_ror_4.asm create mode 100644 src/main/fragment/mos6502-common/vbuaa=vbuaa_bor_pbuc1_derefidx_(pbuz1_derefidx_vbuyy).asm create mode 100644 src/main/fragment/mos6502-common/vbuaa=vbuz1_bor_pbuc1_derefidx_(pbuz2_derefidx_vbuyy).asm diff --git a/src/main/fragment/mos6502-common/vbuaa=pbuc1_derefidx_(pbuz1_derefidx_vbuyy)_rol_6.asm b/src/main/fragment/mos6502-common/vbuaa=pbuc1_derefidx_(pbuz1_derefidx_vbuyy)_rol_6.asm new file mode 100644 index 000000000..357933ea2 --- /dev/null +++ b/src/main/fragment/mos6502-common/vbuaa=pbuc1_derefidx_(pbuz1_derefidx_vbuyy)_rol_6.asm @@ -0,0 +1,7 @@ +lda ({z1}),y +tay +lda {c1},y +ror +ror +ror +and #$c0 \ No newline at end of file diff --git a/src/main/fragment/mos6502-common/vbuaa=pbuc1_derefidx_(pbuz1_derefidx_vbuyy)_ror_2.asm b/src/main/fragment/mos6502-common/vbuaa=pbuc1_derefidx_(pbuz1_derefidx_vbuyy)_ror_2.asm new file mode 100644 index 000000000..4ef2e343a --- /dev/null +++ b/src/main/fragment/mos6502-common/vbuaa=pbuc1_derefidx_(pbuz1_derefidx_vbuyy)_ror_2.asm @@ -0,0 +1,5 @@ +lda ({z1}),y +tay +lda {c1},y +lsr +lsr \ No newline at end of file diff --git a/src/main/fragment/mos6502-common/vbuaa=pbuc1_derefidx_(pbuz1_derefidx_vbuyy)_ror_4.asm b/src/main/fragment/mos6502-common/vbuaa=pbuc1_derefidx_(pbuz1_derefidx_vbuyy)_ror_4.asm new file mode 100644 index 000000000..3cf8ffb40 --- /dev/null +++ b/src/main/fragment/mos6502-common/vbuaa=pbuc1_derefidx_(pbuz1_derefidx_vbuyy)_ror_4.asm @@ -0,0 +1,7 @@ +lda ({z1}),y +tay +lda {c1},y +lsr +lsr +lsr +lsr \ No newline at end of file diff --git a/src/main/fragment/mos6502-common/vbuaa=vbuaa_bor_pbuc1_derefidx_(pbuz1_derefidx_vbuyy).asm b/src/main/fragment/mos6502-common/vbuaa=vbuaa_bor_pbuc1_derefidx_(pbuz1_derefidx_vbuyy).asm new file mode 100644 index 000000000..beb7db1c1 --- /dev/null +++ b/src/main/fragment/mos6502-common/vbuaa=vbuaa_bor_pbuc1_derefidx_(pbuz1_derefidx_vbuyy).asm @@ -0,0 +1,5 @@ +sta $ff +lda ({z1}),y +tay +lda {c1},y +ora $ff \ No newline at end of file diff --git a/src/main/fragment/mos6502-common/vbuaa=vbuz1_bor_pbuc1_derefidx_(pbuz2_derefidx_vbuyy).asm b/src/main/fragment/mos6502-common/vbuaa=vbuz1_bor_pbuc1_derefidx_(pbuz2_derefidx_vbuyy).asm new file mode 100644 index 000000000..7d30ac5d4 --- /dev/null +++ b/src/main/fragment/mos6502-common/vbuaa=vbuz1_bor_pbuc1_derefidx_(pbuz2_derefidx_vbuyy).asm @@ -0,0 +1,4 @@ +lda ({z2}),y +tay +lda {c1},y +ora {z1} \ No newline at end of file