From: ceriel Date: Thu, 29 Aug 1991 11:34:42 +0000 (+0000) Subject: use __exit and __write instead X-Git-Tag: release-5-5~1019 X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=33c0dd849627070080e7ba33710868f2bd07ea5e;p=ack.git use __exit and __write instead --- diff --git a/mach/z8000/libem/printf.s b/mach/z8000/libem/printf.s index be754072e..5512c4730 100755 --- a/mach/z8000/libem/printf.s +++ b/mach/z8000/libem/printf.s @@ -62,10 +62,8 @@ ready: !now really print the string we built in the buffer push *RR14, R3 !count push *RR14, R1 !buffer push *RR14, $2 !file descriptor - push *RR14, $4 ! write - calr mon - pop R1, *RR14 - pop R1, *RR14 ! ignore result + calr __write + inc R15, $6 ldm R4, savereg, $10 pushl *RR14, saveret diff --git a/mach/z8000/libem/trp.s b/mach/z8000/libem/trp.s index aa734397f..4ff5a0c77 100644 --- a/mach/z8000/libem/trp.s +++ b/mach/z8000/libem/trp.s @@ -18,7 +18,7 @@ fatal: pushl *RR14, saveret calr trp push *RR14, $1 - calr mon + calr __exit !NOTREACHED trp: @@ -54,7 +54,7 @@ trp: push *RR14, $err calr printf push *RR14, $1 - calr mon + calr __exit !NOTREACHED .sect .data err: .asciz "trap error %d\n"