Bit Manipulation
Flip, mask and shift — the tricks that turn a loop into one instruction.
Start the module
1. Binary and Bitwise Ops · 4 min
0 of 5 lessons · 0% complete
Bit Manipulation visualizer
Every lesson in this module opens with an animation you can step through. This is the first one — Binary and Bitwise Ops: Every integer is a row of switches you can address.
Binary and Bitwise Ops
Step 1 of 10
1286432168421
a12
0
0
0
0
1
1
0
0
To the CPU, 12 is eight switches — the 8 lane and the 4 lane are the only ones on.
- Lessons
- 5
- Minutes
- 22
- Problems
- 14
- Concepts
- 2
Quiz yourself: 3 questions from this module
1 / 3