No system-calls from libem
This commit is contained in:
parent
6823ce7c96
commit
cee4d5de8b
|
@ -13,7 +13,7 @@
|
|||
and ax,~0777
|
||||
push bx
|
||||
push ax
|
||||
call __brk
|
||||
call BRK
|
||||
pop cx
|
||||
pop bx
|
||||
cmp ax,-1
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
.sect .text; .sect .rom; .sect .data; .sect .bss
|
||||
.sect .text
|
||||
.define .trp
|
||||
.define .stop
|
||||
.extern .trppc
|
||||
|
||||
! ax is trap number
|
||||
|
@ -15,7 +14,7 @@
|
|||
pop ax
|
||||
ret
|
||||
2:
|
||||
call .stop
|
||||
call .stop
|
||||
|
||||
.stop:
|
||||
jmp __exit
|
||||
jmp EXIT
|
||||
|
|
Loading…
Reference in a new issue