When we perform subtraction on -7 and 1 the answer in 2's complement form is ________?
Answers
Answered by
10
Answer:
0110 is the complement formed
Answered by
2
To Find,
Subtraction of -7 and 1
Solution:
-7 - 1
7 = 0111
1's complement = 1000
2's complement = 1000 + 1 = 1001
1 = 0001
1's complement = 1110
2's complement = 1110 + 1 = 1111
1 0 0 1
+ 1 1 1 1
1 1 0 0 0
We get the end-around carry number one. This carry will be discarded.
And we have 1000.
Obtain the 2's complement of 1000 now.
1's complement = 0111
2's complement = 0111 + 1 = 1000
So, the final answer is 1000
When we perform subtraction on -7 and 1 the answer in 2’s complement form is 1000.
SPJ3
Similar questions