Class Notes: Shifts
- Shift to the right or left
Circ
- Moves bits from the right to the left and vice versa
Order of Operations(I'm giving this to you during this homework but normally you are expected to memorize it)
(and trust me, you will need it)
XOR < OR < AND < NOT
NOT
0 -> 1, 1 ->0
AND
Best known as Multiplication 0 AND 1 -> 0 0 AND 0 -> 0 1 AND 1 -> 1
OR Best known as addition 0 OR 1 -> 1 0 OR 0 -> 0 1 OR 1 -> 1
XOR
Are they the same? If yeah, 0. If no, 1 0 XOR 0 -> 0 0 XOR 1 -> 1
1 XOR 1 -> 0
3. 001111
4. yea idk-
3. 111000 i think i messed up on this 4. X = 11001 ahh this was so confusing ^