use pusha and popa instructions, and on the proper place
authorceriel <none@none>
Wed, 8 Feb 1989 15:47:22 +0000 (15:47 +0000)
committerceriel <none@none>
Wed, 8 Feb 1989 15:47:22 +0000 (15:47 +0000)
mach/i386/libem/LIST
mach/i386/libem/error.s

index 955e075..29dba7e 100644 (file)
@@ -29,7 +29,6 @@ ngi.s
 nop.s
 print.s
 rck.s
-return.s
 rmi.s
 rmu.s
 rol.s
index 36684ef..f2501e1 100644 (file)
@@ -8,13 +8,6 @@
        ! May only be called with error no's <16
 .sect .text
 .error:
-       push ebp
-       push esi
-       push edi
-       push edx
-       push ecx
-       push ebx
-       push eax
        mov  ecx,eax
        mov  ebx,1
        sal  ebx,cl
        jne  2f
        call    .trp
 2:
-       pop  eax
-       pop  ebx
-       pop  ecx
-       pop  edx
-       pop  edi
-       pop  esi
-       pop  ebp
        ret
 
 .Xtrp:
+       pusha
        cmp     eax,16
        jge     1f
        call    .error
+       popa
        ret
 1:
-       jmp     .trp
+       call    .trp
+       popa
+       ret