summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/devices/math.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/devices/math.rs b/src/devices/math.rs
index 6260529..c8d2194 100644
--- a/src/devices/math.rs
+++ b/src/devices/math.rs
@@ -20,7 +20,7 @@ impl MathDevice {
}
pub fn multiply(&mut self) {
- let (high, low) = self.operand_1.widening_mul(self.operand_2);
+ let (low, high) = self.operand_1.widening_mul(self.operand_2);
self.product_high = high;
self.product_low = low;
}