shave some cycles

This commit is contained in:
4am 2021-12-07 11:46:13 -05:00
parent d0cd578fe3
commit 1a21745512

View File

@ -26,16 +26,15 @@ shrhi = $38 ; $C8 bytes
start
!pseudopc 0 {
loop1 ldy #1
loop2 ldx #0
loop2 ldx #$C8
loop3 lda shrlo-1, x
sta <dst+1
lda shrhi-1, x
sta <dst+2
lda (<dst+1), y
dst sta $0000, y ; SMC
inx
cpx #$C8
bcc loop3
dex
bne loop3
lda $C000
bmi @exit
iny