PREVIEW
Fig. 1 — Half Subtractor INTERACTIVE

Ce que tu apprendras

  • Derive Difference and Borrow from a truth table
  • Contrast the half subtractor with the half adder
  • Identify when a borrow is generated

Comment ça fonctionne

The Difference output is A XOR B; the Borrow output is high only when A=0 and B=1 (you can't take 1 from 0 without borrowing). It is the subtraction counterpart of the half adder.

Composants utilisés

Applications concrètes

The least-significant stage of any subtractor, and a building block for ALUs and calculators.