Subtract 36 from 83 using 2's complement and explain the steps of it..
Answers
Answered by
4
1. 83 in binary can be written as 1010011 and 36 in binary is 0100100.
2. 2's compliment of 0100100 is 1011100.
3. adding 83 with the 2's compliment of 36 , we get , 0101111. We should ignore the carry in 2's compliment .
4. 0101111 = 1 + 2 + 4 + 8 + 32 = 47 .
Similar questions