From 130abb7e3bf7e1cf13d386b53eccfa35b47544d4 Mon Sep 17 00:00:00 2001 From: ceriel Date: Wed, 10 Jun 1987 13:46:21 +0000 Subject: [PATCH] bug fixes --- mach/i86/libem/csb2.s | 5 ++++- mach/i86/libem/mli4.s | 1 + 2 files changed, 5 insertions(+), 1 deletion(-) 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 -- 2.34.1