fix: strhp should do brk system call
This commit is contained in:
parent
b3efe7e46c
commit
25f7fe9b77
1 changed files with 4 additions and 2 deletions
|
@ -12,8 +12,10 @@
|
|||
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:
|
||||
|
|
Loading…
Reference in a new issue