summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorPixel <>2001-05-22 07:25:33 +0000
committerPixel <>2001-05-22 07:25:33 +0000
commit26c872565c6518f5f4ea1e7588b60d822b47ae67 (patch)
treeaf8fe20c53dd5ca069433c387535ca7eb3ae56a2 /lib
parent9925112da98bdbc8a22a49c21304797383650ff6 (diff)
MOUAHAHAHAHAHAHA c'était bien ça... inversion de RG et RD... mais QUE C'EST LENT!!! :)))HEADmaster
Diffstat (limited to 'lib')
-rw-r--r--lib/alu.c12
1 files changed, 6 insertions, 6 deletions
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);
}