wok diff linld/stuff/src/JUMP.ASM @ rev 20142

linld: tiny shrink
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Nov 11 10:57:19 2017 +0100 (2017-11-11)
parents e17c7b3f75a8
children f4bc280fe3c4
line diff
     1.1 --- a/linld/stuff/src/JUMP.ASM	Mon Apr 10 09:25:19 2017 +0200
     1.2 +++ b/linld/stuff/src/JUMP.ASM	Sat Nov 11 10:57:19 2017 +0100
     1.3 @@ -36,6 +36,7 @@
     1.4  	global	_boot_kernel:near
     1.5          proc    _boot_kernel near
     1.6          
     1.7 +                p8086
     1.8  ; Shrink stack: we won't need much of it now and have no malloc() plans
     1.9  		extrn	_heap_top:word
    1.10  		mov	ax,[_heap_top]
    1.11 @@ -53,6 +54,7 @@
    1.12  		mov	ax,sp
    1.13  		shr	ax,cl
    1.14  		else
    1.15 +                p386
    1.16  		mov	bx,9000h
    1.17  		mov	es,bx
    1.18  		mov	ax,sp