bug fixes
authorceriel <none@none>
Wed, 10 Jun 1987 13:46:21 +0000 (13:46 +0000)
committerceriel <none@none>
Wed, 10 Jun 1987 13:46:21 +0000 (13:46 +0000)
mach/i86/libem/csb2.s
mach/i86/libem/mli4.s

index cf4d1b6..a2a5903 100644 (file)
@@ -10,7 +10,7 @@
 1:
        add     bx,4
        dec     cx
-       jl      2f
+       jl      4f
        cmp     ax,(bx)
        jne     1b
        mov     bx,2(bx)
@@ -24,3 +24,6 @@
        jmp     .fat
 3:
        jmp     bx
+4:
+       mov     bx,dx
+       jmp     2b
index ee10f8b..24a803c 100644 (file)
@@ -20,6 +20,7 @@ yh=4
        pop     dx
        add     dx,ax           ! xh*yl+xl*yh
        mov     ax,cx
+       mov     cx,dx
        mul     yl(bx)           ! xl*yl
        add     dx,cx
        ret     4