fix: strhp should do brk system call

This commit is contained in:
ceriel 1988-07-13 12:51:57 +00:00
parent b3efe7e46c
commit 25f7fe9b77

View file

@ -12,8 +12,10 @@
add ax,02000 add ax,02000
and ax,~0777 and ax,~0777
mov (.limhp),ax mov (.limhp),ax
cmp ax,sp push ax
jae 2f call _brk
or ax,ax
jne 2f
1: 1:
jmp bx jmp bx
2: 2: