mirror of
https://github.com/cc65/cc65.git
synced 2025-01-10 19:29:45 +00:00
Small lz4 optimizations
This commit is contained in:
parent
135041ac3c
commit
4235e569d2
@ -137,7 +137,7 @@ L001A: lda offset
|
|||||||
ldx in+1
|
ldx in+1
|
||||||
sta ptr1
|
sta ptr1
|
||||||
stx ptr1+1
|
stx ptr1+1
|
||||||
ldy #$00
|
; ldy #$00 - not needed as pushax zeroes Y
|
||||||
jsr memcpy_upwards
|
jsr memcpy_upwards
|
||||||
;
|
;
|
||||||
; written += offset;
|
; written += offset;
|
||||||
@ -195,11 +195,11 @@ L0047: ldy #$00
|
|||||||
L002F: lda out
|
L002F: lda out
|
||||||
clc
|
clc
|
||||||
adc written
|
adc written
|
||||||
pha
|
tay
|
||||||
lda out+1
|
lda out+1
|
||||||
adc written+1
|
adc written+1
|
||||||
tax
|
tax
|
||||||
pla
|
tya
|
||||||
sec
|
sec
|
||||||
sbc offset
|
sbc offset
|
||||||
sta ptr1
|
sta ptr1
|
||||||
|
Loading…
x
Reference in New Issue
Block a user