fix off-by-1 bug

This commit is contained in:
4am 2021-12-07 11:46:02 -05:00
parent 5318bba746
commit d0cd578fe3

View File

@ -27,9 +27,9 @@ start
!pseudopc 0 {
loop1 ldy #0
loop2 ldx #1
loop3 lda shrlo-1, x
loop3 lda shrlo, x
sta <dst+1
lda shrhi-1, x
lda shrhi, x
sta <dst+2
lda (<dst+1), y
dst sta $0000, y ; SMC