mirror of
https://github.com/emmanuel-marty/lzsa.git
synced 2025-04-13 06:37:02 +00:00
Don't use 80186 opcodes. Issue #3
This commit is contained in:
parent
3c8c4283c7
commit
8d8f50a509
@ -75,7 +75,8 @@ lzsa2_decompress:
|
||||
xchg ax,cx ; clear ah - cx is zero from the rep movsb above
|
||||
mov al,020H ; shift Z (offset bit 4) in place
|
||||
and al,dl
|
||||
shl al,2
|
||||
shl al,1
|
||||
shl al,1
|
||||
call .get_nibble ; get nibble for offset bits 0-3
|
||||
or al,cl ; merge nibble
|
||||
rol al,1
|
||||
@ -100,7 +101,8 @@ lzsa2_decompress:
|
||||
|
||||
mov ah,020H ; shift Z (offset bit 12) in place
|
||||
and ah,dl
|
||||
shl ah,2
|
||||
shl ah,1
|
||||
shl ah,1
|
||||
call .get_nibble ; get nibble for offset bits 8-11
|
||||
or ah,cl ; merge nibble
|
||||
rol ah,1
|
||||
|
Loading…
x
Reference in New Issue
Block a user