diff --git a/src/main/fragment/mos6502-common/pwsm1_derefidx_vbuyy_gt_vbsc1_then_la1.asm b/src/main/fragment/mos6502-common/pwsm1_derefidx_vbuyy_gt_vbsc1_then_la1.asm new file mode 100644 index 000000000..435a0e46c --- /dev/null +++ b/src/main/fragment/mos6502-common/pwsm1_derefidx_vbuyy_gt_vbsc1_then_la1.asm @@ -0,0 +1,13 @@ +lda {m1} +sta $fe +lda {m1}+1 +sta $ff +lda #<{c1} +cmp ($fe),y +iny +lda #>{c1} +sbc ($fe),y +bvc !+ +eor #$80 +!: +bmi {la1} \ No newline at end of file diff --git a/src/main/fragment/mos6502-common/pwsm1_derefidx_vbuyy_gt_vwsc1_then_la1.asm b/src/main/fragment/mos6502-common/pwsm1_derefidx_vbuyy_gt_vwsc1_then_la1.asm new file mode 100644 index 000000000..435a0e46c --- /dev/null +++ b/src/main/fragment/mos6502-common/pwsm1_derefidx_vbuyy_gt_vwsc1_then_la1.asm @@ -0,0 +1,13 @@ +lda {m1} +sta $fe +lda {m1}+1 +sta $ff +lda #<{c1} +cmp ($fe),y +iny +lda #>{c1} +sbc ($fe),y +bvc !+ +eor #$80 +!: +bmi {la1} \ No newline at end of file diff --git a/src/main/fragment/mos6502-common/pwsz1_derefidx_vbuyy_gt_vwsc1_then_la1.asm b/src/main/fragment/mos6502-common/pwsz1_derefidx_vbuyy_gt_vwsc1_then_la1.asm index c6b2d6095..260da25c4 100644 --- a/src/main/fragment/mos6502-common/pwsz1_derefidx_vbuyy_gt_vwsc1_then_la1.asm +++ b/src/main/fragment/mos6502-common/pwsz1_derefidx_vbuyy_gt_vwsc1_then_la1.asm @@ -7,4 +7,3 @@ bvc !+ eor #$80 !: bmi {la1} -!e: