Passer au contenu

Lesson 51: Binary adder

English

Add like a processor

  • A processor adds binary numbers column by column, from the right, just like you add on paper.
  • 0 + 0 = 0, 0 + 1 = 1, 1 + 1 = 10 (write 0, carry 1), 1 + 1 + 1 = 11 (write 1, carry 1).
  • An 8-bit register holds 0 to 255. A bigger answer does not fit: overflow.

Words for this lesson

Word Meaning
carry the 1 that moves to the next column
register a small store of bits in the processor
overflow the answer needs more bits than the register has

Se connecter ou créer un compte

IGCSE, A-Level & AP