adapted so that _brk routine may update .limhp
authorceriel <none@none>
Mon, 22 Jan 1990 15:32:44 +0000 (15:32 +0000)
committerceriel <none@none>
Mon, 22 Jan 1990 15:32:44 +0000 (15:32 +0000)
mach/i386/libem/strhp.s
mach/i86/libem/strhp.s

index ff2c217..8694103 100644 (file)
@@ -11,7 +11,6 @@
        jb      1f
        add     eax,02000
        and     eax,~0777
-       mov     (.limhp),eax
        push    ebx
        push    eax
        call    _brk
@@ -20,6 +19,7 @@
        cmp     eax,-1
        je      2f
 1:
+       mov     (.limhp),ecx
        jmp     ebx
 2:
        mov     eax,EHEAP
index c8898f0..55c1ed3 100644 (file)
@@ -11,7 +11,6 @@
        jb      1f
        add     ax,02000
        and     ax,~0777
-       mov     (.limhp),ax
        push    bx
        push    ax
        call    _brk
@@ -20,6 +19,7 @@
        cmp     ax,-1
        je      2f
 1:
+       mov     (.limhp),cx
        jmp     bx
 2:
        mov     ax,EHEAP