diff --git a/mach/i86/libem/csb2.s b/mach/i86/libem/csb2.s index cf4d1b6c9..a2a590341 100644 --- a/mach/i86/libem/csb2.s +++ b/mach/i86/libem/csb2.s @@ -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 diff --git a/mach/i86/libem/mli4.s b/mach/i86/libem/mli4.s index ee10f8b5d..24a803c6b 100644 --- a/mach/i86/libem/mli4.s +++ b/mach/i86/libem/mli4.s @@ -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