wok-current rev 20541
linld: _fastcall calls (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Nov 29 13:49:52 2018 +0100 (2018-11-29) |
parents | 8338e8d728f8 |
children | c836f6d2eff8 |
files | linld/stuff/src/CRTL.ASM |
line diff
1.1 --- a/linld/stuff/src/CRTL.ASM Thu Nov 29 12:11:44 2018 +0100 1.2 +++ b/linld/stuff/src/CRTL.ASM Thu Nov 29 13:49:52 2018 +0100 1.3 @@ -892,7 +892,7 @@ 1.4 ifndef NO386 1.5 cwde ; ax < 8000h 1.6 sub [(image_himem di).chunk_size],eax 1.7 - mov bx,ax 1.8 + xchg eax,ebx 1.9 else 1.10 sub [word (image_himem di).chunk_size],ax 1.11 xchg ax,bx 1.12 @@ -910,12 +910,12 @@ 1.13 jmp @@fill 1.14 @@filled: 1.15 ifndef NO386 1.16 - sub [(image_himem di).remaining],eax 1.17 + sub [(image_himem di).remaining],ebx 1.18 else 1.19 sub [word (image_himem di).remaining],bx 1.20 sbb [word ((image_himem di).remaining)+2],dx 1.21 endif 1.22 - sub si,ax 1.23 + sub si,bx 1.24 pushf 1.25 and cx,[(image_himem di).next_chunk] 1.26 jcxz @@same_chunk