diff options
author | Pixel <> | 2001-05-22 07:25:33 +0000 |
---|---|---|
committer | Pixel <> | 2001-05-22 07:25:33 +0000 |
commit | 26c872565c6518f5f4ea1e7588b60d822b47ae67 (patch) | |
tree | af8fe20c53dd5ca069433c387535ca7eb3ae56a2 /lib | |
parent | 9925112da98bdbc8a22a49c21304797383650ff6 (diff) |
Diffstat (limited to 'lib')
-rw-r--r-- | lib/alu.c | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -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); } |