summaryrefslogtreecommitdiff
path: root/lib/alu.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/alu.c')
-rw-r--r--lib/alu.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/alu.c b/lib/alu.c
index 4ff01f3..0adac7d 100644
--- a/lib/alu.c
+++ b/lib/alu.c
@@ -32,9 +32,9 @@ Uint32 RAdditionNonSigne(Uint32 a, Uint32 b)
}
if (tr) {
- SetZero();
- } else {
ResetZero();
+ } else {
+ SetZero();
}
if (tr & 1) {
@@ -60,9 +60,9 @@ Uint32 RAdditionSigne(long int a, long int b)
}
if (tr) {
- SetZero();
- } else {
ResetZero();
+ } else {
+ SetZero();
}
if (tr & 1) {