No system-calls from libem

This commit is contained in:
ceriel 1992-06-30 17:43:24 +00:00
parent 8474be6e52
commit 2dde78c197
3 changed files with 4 additions and 4 deletions

View file

@ -14,7 +14,7 @@
movqd 1,tos
addr 8(fp),tos
movqd 1,tos
bsr __write
bsr WRITE
adjspb -12
exit []
ret 0

View file

@ -62,7 +62,7 @@ ready: !now really print the string we built in the buffer
push *RR14, R3 !count
push *RR14, R1 !buffer
push *RR14, $2 !file descriptor
calr __write
calr WRITE
inc R15, $6
ldm R4, savereg, $10

View file

@ -18,7 +18,7 @@ fatal:
pushl *RR14, saveret
calr trp
push *RR14, $1
calr __exit
jr EXIT
!NOTREACHED
trp:
@ -54,7 +54,7 @@ trp:
push *RR14, $err
calr printf
push *RR14, $1
calr __exit
jr EXIT
!NOTREACHED
.sect .data
err: .asciz "trap error %d\n"