Topper Copies

Perform the subtraction operations indicated below using addition and the two's complement of the subtrahend: $(1101011)_2 - (111010)_2$

Aryan Yadav, AIR 31, 2025

Write 111010 as 00111010 (the leading bit is the sign bit)

take 2s complment

$= 11000101 + 1$

$= 11000110$

$\Rightarrow 1101011 - 111010$

$= 01101011 + 11000110 = 1\,00110001$

Sign bit=0 $\Rightarrow$ Answer is positive

Value = $(0110001)_2$ = $(49)_{10}$