Full Subtractor

Full Subtractor – Interactive
Set A, B and Bin and observe the Difference (D) and Borrow (Bout) for the full subtractor circuit.
Input A: 0
Input B: 0
Input Bin: 0
Difference (D): 0
Borrow (Bout): 0
Circuit Diagram
D = A ⊕ B ⊕ Bin,   Bout = A̅·B + A̅·Bin + B·Bin.
Timing Diagram
All eight input combinations of A, B and Bin over time: t₀ → t₇.
t₀ (0,0,0) t₁ (0,0,1) t₂ (0,1,0) t₃ (0,1,1) t₄ (1,0,0) t₅ (1,0,1) t₆ (1,1,0) t₇ (1,1,1) A B B in D B out
Current: t₀ (A=0, B=0, Bin=0, D=0, Bout=0)

Comments