My creation is an ALU, meaning it does arithmatic like 9 - 4 or 6 + 7. It also has 3 flags: Zero, Negative, and Overflow. Zero is turned on when the number in the output is zero. Negative only applies to subtraction and is turned on when the number in the output is negative. Overflow is turned on when the number in the output is too high for the adder, and doesn't apply while subtracting. It uses an RCA, or Ripple Carry Adder, which is of course, an adder. there are also XOR gates for the !A and !B.
Put in the binary inputs as AB AB AB AB instead of AAAA BBBB; for example, 1001 1010 would be 11 00 01 10. !A inverts Input A. !B inverts input B. OR shuts of the AND in the XORs in the RCA, making the adder like an OR gate instead of an adder. FC (flood carry) turns on all bits, including overflow and Carry-in. Carry-in adds one bit to the adder. To see the output, look at the four redstone lamps under and to the left of the flags on the other side of the ALU.
Comments
Denied.
Dear CaptainWaffles,
Your creation is not regular-worthy. To get an idea of what kind of creations are, you can look in the "rank challenges" room at spawn and/or use the "/challenges regular" command.
Meow,,
Woesh0007