TactivergeLite

Lite / Building Machines That Respond / Week 17

Week 17: Binary arithmetic

Term 2: Digital and Electrical Systems

This week you will

Lessons

  1. Binary and hexadecimal · about 30 min
    A sensor datasheet says its ID register reads 0x6B. What number is that, and why would anyone write it that way?
  2. Multi-bit addition and the ripple-carry adder · about 35 min
    Adding 0111 + 0001 changes every single bit of the answer. How long does a circuit have to wait before it can trust the result?
  3. Overflow and negative numbers · about 35 min
    In a 4-bit computer, 7 + 1 = −8. That is not a bug in the adder. So what is going on?
← Week 16Week 18 →