
This is a calculator which can take in a four bit operand followed by an operation (addition, subtraction, multiplication or division) then another four bit number. The result will be outputted in an eight bit number. Division rounds upwards. Using zero as an operand is not supported, because Ragnar disapproves of the concept of zero, because no one deserves to be a zero.
Connect a hexadecimal keypad to the circuit then do your favorite calculations. Bits 0-3 are used for operands and operations while bit 4 is used for strobe, which activates shortly after pressing a button.
Some displays to display the result.
| # | Input | Output | Bidirectional |
|---|---|---|---|
| 0 | Number/operation | Result | |
| 1 | Number/operation | Result | |
| 2 | Number/operation | Result | |
| 3 | Number/operation | Result | |
| 4 | Strobe | Result | |
| 5 | Result | ||
| 6 | Result | ||
| 7 | Result |