From 797f90a022a6dd7b07262c91dee10586a05f6f26 Mon Sep 17 00:00:00 2001 From: eck Date: Tue, 21 Aug 1990 10:17:49 +0000 Subject: [PATCH] changed interface for cs[ab] --- mach/m68k2/libem/csa.s | 6 ++---- mach/m68k2/libem/csa4.s | 2 -- mach/m68k2/libem/csb.s | 6 ++---- mach/m68k2/libem/csb4.s | 4 +--- mach/m68k2/libem/mon.s | 2 +- 5 files changed, 6 insertions(+), 14 deletions(-) diff --git a/mach/m68k2/libem/csa.s b/mach/m68k2/libem/csa.s index b16313db6..13ed3e16d 100644 --- a/mach/m68k2/libem/csa.s +++ b/mach/m68k2/libem/csa.s @@ -1,13 +1,11 @@ -.define .csa +.define .csa2 .sect .text .sect .rom .sect .data .sect .bss .sect .text -.csa: - move.l (sp)+,a0 ! case descriptor - move (sp)+,d0 ! index +.csa2: move.l (a0)+,a1 ! default address sub (a0)+,d0 ! index - lower bound blt 1f diff --git a/mach/m68k2/libem/csa4.s b/mach/m68k2/libem/csa4.s index 5105f328b..f1b898bc9 100644 --- a/mach/m68k2/libem/csa4.s +++ b/mach/m68k2/libem/csa4.s @@ -6,8 +6,6 @@ .sect .text .csa4: - move.l (sp)+,a0 ! case descriptor - move.l (sp)+,d0 ! index move.l (a0)+,a1 ! default address sub.l (a0)+,d0 ! index - lower bound blt 1f diff --git a/mach/m68k2/libem/csb.s b/mach/m68k2/libem/csb.s index 5d25385a9..4a567cc6e 100644 --- a/mach/m68k2/libem/csb.s +++ b/mach/m68k2/libem/csb.s @@ -1,13 +1,11 @@ -.define .csb +.define .csb2 .sect .text .sect .rom .sect .data .sect .bss .sect .text -.csb: - move.l (sp)+,a0 ! case descriptor - move (sp)+,d0 ! index +.csb2: move.l (a0)+,a1 ! default jump address move.w (a0)+,d1 ! # entries beq 2f diff --git a/mach/m68k2/libem/csb4.s b/mach/m68k2/libem/csb4.s index 7b4e3a200..e1504e29e 100644 --- a/mach/m68k2/libem/csb4.s +++ b/mach/m68k2/libem/csb4.s @@ -6,10 +6,8 @@ .sect .text .csb4: - move.l (sp)+,a0 ! case descriptor - move.l (sp)+,d0 ! index move.l (a0)+,a1 ! default jump address - move.w (a0)+,d1 ! # entries + move.l (a0)+,d1 ! # entries beq 2f 1: cmp.l (a0)+,d0 diff --git a/mach/m68k2/libem/mon.s b/mach/m68k2/libem/mon.s index dffaaede3..95e7bf4c0 100644 --- a/mach/m68k2/libem/mon.s +++ b/mach/m68k2/libem/mon.s @@ -12,5 +12,5 @@ jmp EXIT .sect .data -fmt: .asciz "system call %d not implemented" +fmt: .asciz "system call %d not implemented\n" .align 2 -- 2.34.1