mirror of
https://github.com/emmanuel-marty/lzsa.git
synced 2025-02-27 16:29:01 +00:00
Remove unnecessary "TSTB" instruction from 6809 LZSA depackers
This commit is contained in:
parent
8c99570b06
commit
f233d552ca
@ -60,9 +60,7 @@ lz1cpylt lda ,u+ ; copy literal byte
|
||||
tfr u,x
|
||||
|
||||
lz1nolt ldb ,s ; get token again, don't pop it from the stack
|
||||
|
||||
tstb ; test O bit (small or large offset)
|
||||
bmi lz1bigof
|
||||
bmi lz1bigof ; test O bit (small or large offset)
|
||||
|
||||
ldb ,x+ ; O clear: load 8 bit (negative, signed) offset
|
||||
lda #$ff ; set high 8 bits
|
||||
|
@ -62,9 +62,7 @@ lz1cpylt lda ,-u ; copy literal byte
|
||||
tfr u,x
|
||||
|
||||
lz1nolt ldb ,s ; get token again, don't pop it from the stack
|
||||
|
||||
tstb ; test O bit (small or large offset)
|
||||
bmi lz1bigof
|
||||
bmi lz1bigof ; test O bit (small or large offset)
|
||||
|
||||
ldb ,-x ; O clear: load 8 bit (negative, signed) offset
|
||||
lda #$ff ; set high 8 bits
|
||||
|
Loading…
x
Reference in New Issue
Block a user