Because A-B=A+(-B), the subtraction of signed numbers can be accomplished by adding the complement. Subtract each of the following pairs of 5-bit binary numbers by adding the complement of the subtrahend to the minuend. Indicate when an over flow occurs. Assume that negative numbers are represented in 1's complement. Then repeat using 2's complement.
a)11010-10100
b)01011-11000
c)10001-01010
d)10101-11010