changed entry points csa and csb; strscript should call m68020
authorceriel <none@none>
Tue, 21 Feb 1989 10:09:01 +0000 (10:09 +0000)
committerceriel <none@none>
Tue, 21 Feb 1989 10:09:01 +0000 (10:09 +0000)
instead of acc

mach/m68020/libem/csa.s
mach/m68020/libem/csb.s
mach/m68020/libem/strscript

index b540a2e..b6e117e 100644 (file)
@@ -8,9 +8,10 @@ ECASE=20
 .sect .text
 
 .csa:
-       move.l  (sp)+, a0       ! jump table address
+               ! jump table address in a0
+               ! index in d0
+
        move.l  (a0)+, a1       ! default address
-       move.l  (sp)+, d0       ! index
        sub.l   (a0)+, d0       ! index - lower bound
        blt     1f
        cmp.l   (a0)+, d0       ! rel. index, upper - lower bound
index 550f496..fe2d9d6 100644 (file)
@@ -8,8 +8,9 @@ ECASE=20
 .sect .text
 
 .csb:
-       move.l  (sp)+, a0       ! case descriptor
-       move.l  (sp)+, d0       ! index
+               ! case descriptor in a0
+               ! index in d0
+
        move.l  (a0)+, a1       ! default jump address
        move.l  (a0)+, d1       ! # entries
        beq     3f
index 51b62fd..ee4cc1b 100644 (file)
@@ -1,3 +1,3 @@
-acc -c.s -L -LIB -I../../../h trpstr.c
+m68020 -c.s -L -LIB -I../../../h trpstr.c
 sed s/_trpstr/.trpstr/g < trpstr.s > trpstr.ss
 mv trpstr.ss trpstr.s