No system-calls from libem

This commit is contained in:
ceriel 1992-06-30 15:02:32 +00:00
parent 6823ce7c96
commit cee4d5de8b
2 changed files with 3 additions and 4 deletions

View file

@ -13,7 +13,7 @@
and ax,~0777 and ax,~0777
push bx push bx
push ax push ax
call __brk call BRK
pop cx pop cx
pop bx pop bx
cmp ax,-1 cmp ax,-1

View file

@ -1,7 +1,6 @@
.sect .text; .sect .rom; .sect .data; .sect .bss .sect .text; .sect .rom; .sect .data; .sect .bss
.sect .text .sect .text
.define .trp .define .trp
.define .stop
.extern .trppc .extern .trppc
! ax is trap number ! ax is trap number
@ -15,7 +14,7 @@
pop ax pop ax
ret ret
2: 2:
call .stop call .stop
.stop: .stop:
jmp __exit jmp EXIT