diff --git a/src/main/fragment/mos6502-common/pbuz1=qbuc1_derefidx_vbuxx_plus__deref_pwuz1.asm b/src/main/fragment/mos6502-common/pbuz1=qbuc1_derefidx_vbuxx_plus__deref_pwuz1.asm new file mode 100644 index 000000000..d3d6242a1 --- /dev/null +++ b/src/main/fragment/mos6502-common/pbuz1=qbuc1_derefidx_vbuxx_plus__deref_pwuz1.asm @@ -0,0 +1,11 @@ +clc +ldy #0 +lda {c1},x +adc ({z1}),y +pha +iny +lda {c1}+1,x +adc ({z1}),y +sta {z1}+1 +pla +sta {z1} \ No newline at end of file diff --git a/src/main/fragment/mos6502-common/pbuz1=qbuc1_derefidx_vbuxx_plus__deref_pwuz2.asm b/src/main/fragment/mos6502-common/pbuz1=qbuc1_derefidx_vbuxx_plus__deref_pwuz2.asm new file mode 100644 index 000000000..0b0c8a02b --- /dev/null +++ b/src/main/fragment/mos6502-common/pbuz1=qbuc1_derefidx_vbuxx_plus__deref_pwuz2.asm @@ -0,0 +1,9 @@ +clc +ldy #0 +lda {c1},x +adc ({z2}),y +sta {z1} +iny +lda {c1}+1,x +adc ({z2}),y +sta {z1}+1 \ No newline at end of file diff --git a/src/main/fragment/mos6502-common/pbuz1=qbuc1_derefidx_vbuxx_plus_pwuc2_derefidx_vbuyy.asm b/src/main/fragment/mos6502-common/pbuz1=qbuc1_derefidx_vbuxx_plus_pwuc2_derefidx_vbuyy.asm new file mode 100644 index 000000000..a6ae87adc --- /dev/null +++ b/src/main/fragment/mos6502-common/pbuz1=qbuc1_derefidx_vbuxx_plus_pwuc2_derefidx_vbuyy.asm @@ -0,0 +1,7 @@ +clc +lda {c1},x +adc {c2},y +sta {z1} +lda {c1}+1,x +adc {c2}+1,y +sta {z1}+1 \ No newline at end of file diff --git a/src/main/fragment/mos6502-common/pbuz1=qbuc1_derefidx_vbuyy_plus_pwuc2_derefidx_vbuxx.asm b/src/main/fragment/mos6502-common/pbuz1=qbuc1_derefidx_vbuyy_plus_pwuc2_derefidx_vbuxx.asm new file mode 100644 index 000000000..1d3901263 --- /dev/null +++ b/src/main/fragment/mos6502-common/pbuz1=qbuc1_derefidx_vbuyy_plus_pwuc2_derefidx_vbuxx.asm @@ -0,0 +1,7 @@ +clc +lda {c1},y +adc {c2},x +sta {z1} +lda {c1}+1,y +adc {c2}+1,x +sta {z1}+1 \ No newline at end of file