Maps Redstone Device

Calculator (add)

  • 564 views 0 today
  • save_alt 23 downloads
Progress
100% complete
  • 3
  • 0
  • 2
troyaanhd
Lvl 19Journeyman System
1
Hello today i will show my calculator its simple |



INFORMATION:
Can only add (5full-adders)

____________________________________________________________________________________________


In future i will try to make one who can subtract and add \

More like this

  Have something to say?

Crafting Redstone YT
11/02/2016 4:26 pm
Level 6 : Apprentice Network
Cool! Maybe try multiplication as well, as you just need multiplexers and more adders :)
1
GISED_Link
10/31/2016 4:25 am
Level 21 : Expert Network
To substract, you only need to invert the negative number (so if you do A - B, you need to invert B) and set to one the Cin input of the first adder (the most in left in the picture of your adders). Then invert the output. To invert a signal, juste use a XOR gate in all input. The first input of the gate will be the number bit, the other is 1 if you will substract and 0 if you will add. Remember, if you will add, you have to set the Cin input (discussed above) to 0.

To show a negative number (if the MSB is set to 1), invert the number and add 1 (you need to use another sets of adders). Then turn on some leds on the screen to show a - .

First, read the negative number representation to understand why we need to add one.
1

Welcome