0
1.8kviews
Calculate (-6)10-(-2)10 using 2's complement method
1 Answer
written 3.9 years ago by |
The given numbers are negative decimal numbers
(−6)10=10′s complement of 6=rn−N=101−(−6)=16
(−2)10=10′s complement of 2=rn−N=101−(−2)=12
Binary Representation of (16)10=00010000→(1)
Binary Representation of (12)10=00001100→(2)
2′s complement of 00001100=11110011+1=11110100→(3) …