Half Subtractor
A half subtractor is a multiple output combinational logic that does the subtraction of two bits of binary data. It has input variables and two output variables. Two inputs are corresponding to two input bits and two output variables corresponds to the difference bit and borrow bit.
Hulf subtractor symbol
Hulf subtractor circuits
Half subtractor truth table
A | B | B.in | diff |
---|---|---|---|
0 | 0 | 0 | 0 |
0 | 1 | 1 | 1 |
1 | 0 | 0 | 1 |
1 | 1 | 0 | 0 |