ScratchData LogoScratchData
Back to ZMONSTERbeez09's profile

Bitwise Hub v1.1

ZMZMONSTERbeez09•Created October 29, 2024
Bitwise Hub v1.1
0
0
8 views
View on Scratch

Instructions

Click on the 0s to turn them into 1s. That is REALLY IMPORTANT!! This is how everything works: --Shifting-- Each bit that's on (1) gets shifted the number of places and in the direction that you chose. --AND-- It compares each bit like an AND operator, treating 0 as false and 1 as true. It only turns its bits on if BOTH of the bits it compared are on --OR-- It compares each bit like an OR operator, treating 0 as false and 1 as true. It turns its bits on if EITHER bit it compares is on. --XOR-- New territory for Scratchers :) The XOR operator means 'exclusive or'. How exclusive? It only returns true if EXACTLY ONE boolean is true. Same goes for its Bitwise counterpart: its bits only turn on if EXACTLY ONE of the bits it compares is on. --NOT-- The bits invert their on/off status. If the input bits are on, the output bits are off. If the input bits are off, the output bits are on. Uses the Two's Compliment notation.

Description

Surprisingly, this was made entirely by myself!! Yay me! also check this out: https://scratch.mit.edu/projects/1084476487/ 5/11/2025: corrected the NOT to use the two's compliment notation

Project Details

Project ID1088720491
CreatedOctober 29, 2024
Last ModifiedMay 12, 2025
SharedOctober 30, 2024
Visibilityvisible
CommentsAllowed