One byte saving for setting reg A to $FF in 6809 LZSA2 depacker

This commit is contained in:
Doug Masten 2020-06-26 15:59:24 -05:00
parent c0f09db364
commit 56ba563794

View File

@ -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
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
lz2offs9 sex ; extend token's Z flag bit into reg A