Perform the subtraction operations indicated below using addition and the two's complement [?] the subtrahend: $(1101011)_2 - (111010)_2$
Divyank Gupta, AIR 21, 2024
soln) 2's complement of 111010 will 1s' complement +1
so 1st complement is 000101
So 2' complement is 00101+1 = 000110
so [?] [?] now we have to calculate
$11010[?]11 + 000110$
Or
We ignore the left hand one.
So we get.
$(1101011)_2 - (111010)_2 = (110001)_2$