0
385views
Perform following operation using 2's compliment method-
(i) (28)10-(42)10 (ii) (52)10-(-18)10
1 Answer
written 3.0 years ago by |
$i) \ (28)_{10} -(42)_{10}$ $(28)_{10} \rightarrow binary \ (00011100)_2 \ (42)_{10} \rightarrow binary \ (00101010)_2 $ $Calculating \ 2's \ complement \ of \ (42)_{10}:\ 1's \ complement \ of \ 42 \rightarrow (11010101)_2\ Add \ 1 \ to \ it \rightarrow (11010110)_2$ $\begin{matrix} & &0 &0 &0 &1 &1 …