Perform the subtraction using 1’s complement and 2’s complement methods. (i)11010 – 10000 (ii)11010 – 1101 (iii)100 - 110000
Answers
Answered by
14
1.1010
2.9909
3.-109900
Hope you find useful.....
S.Harish Abhimanyu
Answered by
23
Step by step solution:
1) 11010 - 10000
First take 2's complement of 10000. 2's complement can be found out:
10000 → 01111 + 1 = 10000
M = 11010 ; N = 10000
Here, M>N
Add M to 2's complement of N.
M = 11010
2's complement of N = 10000
The sum is 101010
Answer : 01010
Hence, answer for (i) is 01010.
Similarly, the answer for (ii) is 9909.
The answer for (iii) is 10990.
Similar questions