This project is about building an adding machine out of the most basic components. There will be adding machine in real world, and in Minecraft.
With and gate and not gate, it’s possible for us to build a xor gate with the formula below. Building another carry is also possible with an and gate.
A xor B = (not(A and B)) and (A or B)
There is still another thing that need our attention. It’s important to ensure that the input to the and gate and the or gate will not affect each other.
The final half adding machine looks like this.
Adding machine cannot be directly constructed with half adding component. A full adding machine needs to be construct.
We can see that by linking two half adding machine, the full adding machine can deal with carries from the previous part. Now copying full adding machine is the only thing needed.