ScratchData LogoScratchData
Back to SchoolC0404's profile

Binary (any bit) - Binary Addition

SCSchoolC0404•Created May 2, 2023
Binary (any bit) - Binary Addition
3
2
58 views
View on Scratch

Instructions

By using a Full Adder (basically some logic gates linked together), it is possible to code binary addition. I have done so here. This project works well along side my negative number converter too, as two's compliment was designed to allow for the subtraction of binary numbers through addition. You can get numbers for subtraction in my Negative Number converter and try it here to prove this. BINARY ENCODER/DECODER: https://scratch.mit.edu/projects/365379057/ NEGATIVE NUMBER CONVERTER: https://scratch.mit.edu/projects/838303966/ FLOATING POINT BINARY: https://scratch.mit.edu/projects/905155354/

Description

I used the same technique for printing the numbers from my Negative Number converter, so credits again to Griffpatch for this. I used logic gates which I coded myself, and you can see these logic gates inside the Calculations sprite, should you want to use any. This is also the first time I've made something that can do more than 8 bits.

Project Details

Project ID844208908
CreatedMay 2, 2023
Last ModifiedOctober 10, 2023
SharedMay 2, 2023
Visibilityvisible
CommentsAllowed