mirror of
https://github.com/emmanuel-marty/lzsa.git
synced 2024-12-22 16:30:01 +00:00
One byte saving for setting reg A to $FF in 6809 LZSA2 depacker
This commit is contained in:
parent
c0f09db364
commit
56ba563794
@ -73,7 +73,7 @@ lz2nolt ldb ,s ; get token again, don't pop it from the stack
|
|||||||
|
|
||||||
rolb ; shift Z flag from carry into bit 0 of B
|
rolb ; shift Z flag from carry into bit 0 of B
|
||||||
eorb #$e1 ; set bits 5-7 of offset, reverse bit 0
|
eorb #$e1 ; set bits 5-7 of offset, reverse bit 0
|
||||||
lda #$ff ; set bits 8-15 of offset
|
sex ; set bits 8-15 of offset to $FF
|
||||||
bra lz2gotof
|
bra lz2gotof
|
||||||
|
|
||||||
lz2offs9 sex ; extend token's Z flag bit into reg A
|
lz2offs9 sex ; extend token's Z flag bit into reg A
|
||||||
|
Loading…
Reference in New Issue
Block a user