Xor Exor Applications

Download as pdf or txt
Download as pdf or txt
You are on page 1of 10

cin = carry in, cout = carry out

b in = borrow in, bout = borrow out


s = sum, d = difference
⇒ overflow : hasil melebihi range dari sistem bilangan

An addition overflows if the signs of the addends are the same and the sign of thesum is
different from the addends’ sign. Or, An addition overflows if the carry bits cin into and cout
out of the sign position are different.
Implementasi:
Half Adder:

Full Adder:
(magnitude comparator)

12-bit comparator

You might also like