wok diff linld/stuff/src/XMM.ASM @ rev 20454

Up zstd (1.3.6)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Oct 06 15:17:20 2018 +0200 (2018-10-06)
parents 04feaffdc0d9
children 049ced0bd387
line diff
     1.1 --- a/linld/stuff/src/XMM.ASM	Sat Nov 11 10:57:19 2017 +0100
     1.2 +++ b/linld/stuff/src/XMM.ASM	Sat Oct 06 15:17:20 2018 +0200
     1.3 @@ -48,8 +48,8 @@
     1.4  		ifndef	NO386
     1.5  		cmp	[dword si],0
     1.6  		else
     1.7 -		mov	ax,[word si]
     1.8 -		or	ax,[word si+2]
     1.9 +		mov	cx,[word si]
    1.10 +		or	cx,[word si+2]
    1.11  		endif
    1.12  		jne	@@gotit
    1.13  
    1.14 @@ -65,11 +65,10 @@
    1.15                  int     2fh
    1.16  @@err:
    1.17  		xchg	ax,cx			; restore cmd
    1.18 -		push	es
    1.19 -		push	bx
    1.20 -		pop	[dword si]
    1.21 +		mov	[si],bx
    1.22 +		mov	[si+2],es
    1.23  @@gotit:
    1.24 -		call	[dword si]
    1.25 +		call	[dword si]		; far ptr [si]
    1.26                  dec     ax			; Z=1=OK
    1.27  		pop	si
    1.28                  ret