
8 bit input, 16 bit output. 3 operations: +, -, *
Base 10 keypad input, reset and switch input A/B.
Shows current operation.
extras:
• It automatically removes unnecessary zeros -> _ _ _ _ 0 instead of 00000
• it automatically draws the sign bit next to the answer instead of at a fixed position -> _ _ _ - 5 instead of - _ _ _ _ 5
• it prevents the user from inputting multiple zeros -> _ _ 0 instead of _ 00 or 000
Disclaimer: due to its compactness and use of signal strength to display the numbers, I had to sacrifice some speed. The actual calculations aren't slow but the input is, so please wait for the number to show up on the display before pressing another one. Same for the other logic, every time you select a different operation, a lot of reset is happening, especially when switching inputs (A/B), I shared the DEC to BIN unit for A and B to save room. When switching input, the unit gets reset which also takes some time (2 sec).
You input the 2 numbers you want to work with via the keypad, the default is 0.
By flicking the lever, you can select the top or bottom number. Then select which operation you want to execute.
Please wait a couple of seconds in between inputs.
The clear button will do a full reset.
If it breaks, you were probably too fast
Comments
Judgement postponed
Temporarily marked as denied.
BlackM_ states that the target of this PR should be Regular instead of Tinkerer.
In that case the input mechanism must be updated, in a way that it won't corrupt the input buffer on wrong input. And basically notices when an issue with the input occurs. It should probably also be possible to reset a single input.