diff --git a/src/main/fragment/mos6502-common/(qbuc1_derefidx_vbuxx)_derefidx_vbuc2=vbuaa.asm b/src/main/fragment/mos6502-common/(qbuc1_derefidx_vbuxx)_derefidx_vbuc2=vbuaa.asm new file mode 100644 index 000000000..654a7349a --- /dev/null +++ b/src/main/fragment/mos6502-common/(qbuc1_derefidx_vbuxx)_derefidx_vbuc2=vbuaa.asm @@ -0,0 +1,6 @@ +ldy {c1},x +sty $fe +ldy {c1}+1,x +sty $ff +ldy #{c2} +sta ($fe),y \ No newline at end of file diff --git a/src/main/fragment/mos6502-common/vbuaa=pbuc1_derefidx_(pbuz1_derefidx_vbuc2)_bor_pbuc3_derefidx_(pbuz1_derefidx_vbuc4).asm b/src/main/fragment/mos6502-common/vbuaa=pbuc1_derefidx_(pbuz1_derefidx_vbuc2)_bor_pbuc3_derefidx_(pbuz1_derefidx_vbuc4).asm new file mode 100644 index 000000000..c5c9b7fc8 --- /dev/null +++ b/src/main/fragment/mos6502-common/vbuaa=pbuc1_derefidx_(pbuz1_derefidx_vbuc2)_bor_pbuc3_derefidx_(pbuz1_derefidx_vbuc4).asm @@ -0,0 +1,10 @@ +ldy #{c2} +lda ({z1}),y +tay +lda {c1},y +sta $ff +ldy #{c4} +lda ({z1}),y +tay +lda {c3},y +ora $ff \ No newline at end of file diff --git a/src/main/fragment/mos6502-common/vbuaa=pbuc1_derefidx_(pbuz1_derefidx_vbuyy)_band_vbuc2.asm b/src/main/fragment/mos6502-common/vbuaa=pbuc1_derefidx_(pbuz1_derefidx_vbuyy)_band_vbuc2.asm new file mode 100644 index 000000000..fc16fb100 --- /dev/null +++ b/src/main/fragment/mos6502-common/vbuaa=pbuc1_derefidx_(pbuz1_derefidx_vbuyy)_band_vbuc2.asm @@ -0,0 +1,4 @@ +lda ({z1}),y +tay +lda {c1},y +and #{c2} \ No newline at end of file diff --git a/src/main/fragment/mos6502-common/vbuaa=vbuaa_rol_6.asm b/src/main/fragment/mos6502-common/vbuaa=vbuaa_rol_6.asm index 01f1d4853..4ea89f344 100644 --- a/src/main/fragment/mos6502-common/vbuaa=vbuaa_rol_6.asm +++ b/src/main/fragment/mos6502-common/vbuaa=vbuaa_rol_6.asm @@ -1,6 +1,4 @@ -asl -asl -asl -asl -asl -asl \ No newline at end of file +ror +ror +ror +and #$c0 \ No newline at end of file