Now, put two together and use an OR gate and you can make a "full-adder."



Now, imagine you have a black box with 2 rows of 8 switches, the first marked "input a," and the second marked "input B." Below is a figurative machine. The half-adder is attatched to the rightmost switch of inputs A and B, while the output is tied to the rightmost output. The rest of the full-adders are connected similarly heading towards the leftmost inputs and outputs. The final carry from the last full adder is tied to the "overflow" indicator. The checkboxes most likely will not be preserved when you hit the submit button, so you want to either save your predicted answer and/or save what your inputs were.

Machine State: Awaiting initial input...
1286432168421
Input A:
Input B:
Output:
Overflow:


Get your own web kitty here!
©Copyright 2010, 2011, 2012, 2013, 2014, 2017, 2018. All rights reserved.