From 26c872565c6518f5f4ea1e7588b60d822b47ae67 Mon Sep 17 00:00:00 2001 From: Pixel <> Date: Tue, 22 May 2001 07:25:33 +0000 Subject: =?UTF-8?q?MOUAHAHAHAHAHAHA=20c'=C3=A9tait=20bien=20=C3=A7a...=20i?= =?UTF-8?q?nversion=20de=20RG=20et=20RD...=20mais=20QUE=20C'EST=20LENT!!!?= =?UTF-8?q?=20:)))?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/alu.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'lib') diff --git a/lib/alu.c b/lib/alu.c index bde852d..af4b9eb 100644 --- a/lib/alu.c +++ b/lib/alu.c @@ -429,8 +429,8 @@ Uint32 MUL_UU(Uint32 a, Uint32 b) { SetOverflow(); else ResetOverflow(); - SecondResult=u; - return (v); + SecondResult=v; + return (u); } Uint32 MUL_SS(Uint32 a, Uint32 b) { @@ -472,8 +472,8 @@ Uint32 MUL_SS(Uint32 a, Uint32 b) { else ResetOverflow(); } - SecondResult=RegistreRD; - return (RegistreRG); + SecondResult=RegistreRG; + return (RegistreRD); } Uint32 DivMod_UU(Uint32 a, Uint32 b) { @@ -512,8 +512,8 @@ Uint32 DivMod_SS(Uint32 a, Uint32 b) { RegistreRD = SecondResult; RegistreRD = OPP(RegistreRD); } - SecondResult = RegistreRD; - return (RegistreRG); + SecondResult = RegistreRG; + return (RegistreRD); } -- cgit v1.2.3