No system-calls from libem

This commit is contained in:
ceriel 1992-06-30 11:39:12 +00:00
parent bf2d5263cb
commit 2ae29707d2
5 changed files with 7 additions and 8 deletions

View file

@ -39,7 +39,6 @@ set.s
sli.s
sri.s
sti.s
stop.s
strhp.s
trp.s
unknown.s

View file

@ -4,7 +4,7 @@
.fat:
.extern .trp
.extern .stop
.extern EXIT
call .trp
call .stop
jmp EXIT
! no return

View file

@ -3,5 +3,5 @@
.define .mon
.mon:
.extern .stop
call .stop
.extern EXIT
jmp EXIT

View file

@ -13,7 +13,7 @@
and eax,~0777
push ebx
push eax
call __brk
call BRK
pop ecx
pop ebx
cmp eax,-1

View file

@ -1,7 +1,7 @@
.sect .text; .sect .rom; .sect .data; .sect .bss
.sect .text
.define .trp
.extern .trppc, .stop
.extern .trppc, EXIT
! eax is trap number
.trp:
@ -15,4 +15,4 @@
ret
2:
push eax
call .stop
jmp EXIT