fix: strhp should do brk system call
authorceriel <none@none>
Wed, 13 Jul 1988 12:51:57 +0000 (12:51 +0000)
committerceriel <none@none>
Wed, 13 Jul 1988 12:51:57 +0000 (12:51 +0000)
mach/i86/libem/strhp.s

index 4e89c63..601f467 100644 (file)
        add     ax,02000
        and     ax,~0777
        mov     (.limhp),ax
-       cmp     ax,sp
-       jae     2f
+       push    ax
+       call    _brk
+       or      ax,ax
+       jne     2f
 1:
        jmp     bx
 2: