Discussion :: Arithmetic Operations and Circuits - General Questions (Q.No.4)
|Jai said: (Dec 5, 2010)|
most significant bit is negative . so 1st bit from left is coresponds to -128. and remaining bits value is same 64,32,16,0,0,2,0.adding all decimal number corresponding to these bits (-128+64+32+16+0+0+2+0=-14)
similarly for 11110011.
|Rohini said: (May 25, 2012)|
Here first MSB(Most Significant Bit)is 1. So the number is negative number.
1's complement of first number:00001101
2's complement of first number:00001110
Decimal number corespond to 00001110 is 14. here the number is negative. so -14.
In the same way find second number that is -13 so the sum is -27
Post your comments here:
Email : (optional)
» Your comments will be displayed only after manual approval.