From c197d5a015c3c87ed1449ca98334420da5316c8e Mon Sep 17 00:00:00 2001 From: ceriel Date: Tue, 30 Jun 1992 15:02:32 +0000 Subject: [PATCH] No system-calls from libem --- mach/i86/libem/strhp.s | 2 +- mach/i86/libem/trp.s | 5 ++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/mach/i86/libem/strhp.s b/mach/i86/libem/strhp.s index d0460248..e2684040 100644 --- a/mach/i86/libem/strhp.s +++ b/mach/i86/libem/strhp.s @@ -13,7 +13,7 @@ and ax,~0777 push bx push ax - call __brk + call BRK pop cx pop bx cmp ax,-1 diff --git a/mach/i86/libem/trp.s b/mach/i86/libem/trp.s index c6f0fc0b..1094177f 100644 --- a/mach/i86/libem/trp.s +++ b/mach/i86/libem/trp.s @@ -1,7 +1,6 @@ .sect .text; .sect .rom; .sect .data; .sect .bss .sect .text .define .trp -.define .stop .extern .trppc ! ax is trap number @@ -15,7 +14,7 @@ pop ax ret 2: - call .stop + call .stop .stop: - jmp __exit + jmp EXIT