Binary Course
21 lessons. Sign in to keep track of your progress.
- Part A — Counting in other bases
- 1. Why Computers Don't Count in Decimal
- 2. Binary: Place Value With Only Two Digits
- 3. Hex: Binary in Groups of Four
- 4. Converting Between Binary, Hex, and Decimal by Hand
- Part B — Bitwise operations
- 5. AND, OR, XOR, NOT: Bit-by-Bit Logic
- 6. Shifts: Moving Bits Left and Right
- 7. Masking: Reading and Writing Just the Bits You Care About
- 8. Packing Multiple Fields Into One Word
- Part C — Negative numbers
- 9. Sign-Magnitude, and Its Awkward Downside
- 10. One's Complement, Briefly, and Why It Was Mostly Abandoned
- 11. Two's Complement: The Trick, and Why It Actually Works
- 12. Two's Complement Arithmetic: Subtraction Without a Subtract Circuit
- 13. Overflow: When the Answer Doesn't Fit
- Part D — Fractions in binary
- 14. Place Value Past the Point
- 15. Converting Decimal Fractions to Binary (And Why Some Never Terminate)
- 16. Fixed-Point: Tracking Your Own Binary Point By Hand
- 17. Scaled Fixed-Point in the Wild: A Historical Survey
- Part E — Reading real machine words
- 18. A Word Is Just Bits, Until You Decide What It Means
- 19. Worked Example: Decoding a Raw Word From the LGP-30
- 20. Practice Set: Mystery Dumps, Mixed Bases and Interpretations
- 21. Where to Go Next