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 sli.s
sri.s sri.s
sti.s sti.s
stop.s
strhp.s strhp.s
trp.s trp.s
unknown.s unknown.s

View file

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

View file

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

View file

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

View file

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