summaryrefslogtreecommitdiff
path: root/cpu/alu.ml
diff options
context:
space:
mode:
authorAlex AUVOLAT <alex.auvolat@ens.fr>2014-01-07 15:07:22 +0100
committerAlex AUVOLAT <alex.auvolat@ens.fr>2014-01-07 15:07:22 +0100
commitd9f8744ea219fb04057059cdcbf7162534c63852 (patch)
tree9c1c2d0fa9011bd656d1eae7bbee6db954b3adfe /cpu/alu.ml
parentc8a30baeb18756f2cc246de6a575943fcf9b7ed4 (diff)
downloadSystDigit-Projet-d9f8744ea219fb04057059cdcbf7162534c63852.tar.gz
SystDigit-Projet-d9f8744ea219fb04057059cdcbf7162534c63852.zip
Document.
Diffstat (limited to 'cpu/alu.ml')
-rw-r--r--cpu/alu.ml2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpu/alu.ml b/cpu/alu.ml
index e0c1ef9..f437bd3 100644
--- a/cpu/alu.ml
+++ b/cpu/alu.ml
@@ -51,7 +51,7 @@ let rec nadder_with_carry n a b c_in =
let nadder n a b =
let a, b = nadder_with_carry n a b (const "0") in
- ignore b a
+ b ^. a
let rec nsubber n a b =
zeroes n (* TODO *)