iop9710
iop9710
30 / 0
5th August
9th August
8-bit, inputs can be up to 3 digits. For multiplication and division the second number must be 15 or smaller, calculator overflows at numbers greater than 255. Press M to load result to memory, MR to dispatch, MC to clear. C now clears result and inputs
calculator addition digit function decimal binary electronic electronics digital division

Comments

  • iop9710
    iop9710
    2:18:08
    @R33sesK1ng, that would be pretty cool! you just gotta teach me STOR tech
  • iop9710
    iop9710
    2:17:55
    @iamzach, your inputs are fine, 86*8 = 176 mod 256, its just overflowing
  • iamzach
    iamzach
    11th August
    @asapientpenguin I do. I wait till I see no SPRK going around, and wait for it to say ready.
  • R33sesK1ng
    R33sesK1ng
    11th August
    ayy thanks. this is pretty cool, and i'm trying to figure out more than just the addition function in my future calculators (perhaps collab?)
  • iop9710
    iop9710
    11th August
    @R33sesK1ng, As for the display it was a purely aesthetic decision as I wanted the input numbers to align to the operation symbol, hence the shifting on the right digits. Also thanks for the comment and +1, I'm a big fan of your electronics!
  • iop9710
    iop9710
    11th August
    @R33sesK1ng, 36*3 will work but not 3*36. The multiplier was originally going to have two 4-bit inputs but I decided when building it to just wire up all 8 bits to the A input. This way it can multiply a 8-bit integer by a 4-bit integer, allowing for multiplications like 100*2 or 255*1. I had to compromise somewhere unless I wanted to allow a full 16-bit output. Although I suppose I am already relying on the user not to overflow the calculator, so maybe I should have gone for the full 8 by 8
  • R33sesK1ng
    R33sesK1ng
    10th August
    +1 because this should work, but there seems to be some type of mix up.
  • R33sesK1ng
    R33sesK1ng
    10th August
    @iop9710, How come 3*36 produces 12? One of the segments might be broken. It's worth to note the three display digits on the right seems to place the digits left-to-right instead of right-to-left, unlike the three on the left. They both read left-to-right, but the display on the right displaces the digits to the left for some reason.
  • asapientpenguin
    asapientpenguin
    9th August
    Just slow down with your inputs bro
  • iop9710
    iop9710
    9th August
    @iamzach btw its overflowing! max value it can understand is 255