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
|
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:
|
||||||
|
|
Loading…
Add table
Reference in a new issue