Last active 2 months ago
@MisterChris717 The addition is fairly simple. It just gives a single output. But the subtracting is trickier. Basically i have to give it (The amount of combinations) - 1 outputs. Looping it backwards. This is called "Overflow". so 3 + (16 - 1) makes it loop around back to 3, but it doesn't make a complete loop, therefor it ends up to 2.
If you want the technical name for this process, this is called applying the two's complement on your subtrahend and carrying out the subtraction as addition. Doing this has the convenient consequence of allowing you to express binary subtraction as binary addition, since A - B = A + (-B) = A + (~B + 0001₂). In the case where B is 0001₂, ~B + 0001₂ is equivalent to 2^num of bits - 1, which with your 4-bit computer is 15.
^ This guy is a good sport ^
------------------------------------------
Initial D
Team Eye's official anthem: Fuck Bron Bron
@MistakeMade Not uploading because of blood/gore. Here's the link Pic always makes me sad and makes my stomach churn ;'(
Tfw you're desensitized to gore