mirror of
https://github.com/emmanuel-marty/lzsa.git
synced 2024-11-25 10:30:45 +00:00
Restore CLC
This commit is contained in:
parent
740df3d629
commit
da4f6f7882
@ -144,8 +144,7 @@ REP_MATCH
|
|||||||
|
|
||||||
PLA ; retrieve token from stack again
|
PLA ; retrieve token from stack again
|
||||||
AND #$07 ; isolate match len (MMM)
|
AND #$07 ; isolate match len (MMM)
|
||||||
;;CLC ; carry cleared by high ADC above
|
CLC
|
||||||
; (assuming no overflow can occur)
|
|
||||||
ADC #$02 ; add MIN_MATCH_SIZE_V2
|
ADC #$02 ; add MIN_MATCH_SIZE_V2
|
||||||
CMP #$09 ; MIN_MATCH_SIZE_V2 + MATCH_RUN_LEN_V2?
|
CMP #$09 ; MIN_MATCH_SIZE_V2 + MATCH_RUN_LEN_V2?
|
||||||
BNE PREPARE_COPY_MATCH ; if less, length is directly embedded in token
|
BNE PREPARE_COPY_MATCH ; if less, length is directly embedded in token
|
||||||
|
Loading…
Reference in New Issue
Block a user