subtract 13(10) from 9(10) using 1's complement
Answers
Answered by
0
Answer:
The 10's complement is also used to find the subtraction of the decimal numbers. The 10's complement of a number is calculated by subtracting each digit by 9 and then adding 1 to the result. Simply, by adding 1 to its 9's complement we can get its 10's complement value.
Answered by
0
Answer:
The difference is negative 0100 i.e. -4.
Explanation:
We need to perform the 1's complement subtraction of 9 - 13.
- For this, let us assume:
A = 9
B = 13
- Now, convert A and B to binary:
A = 1001
B = 1101
- Now, take 1's complement of B:
B' = 0010
- Now, add A and B':
1001 + 0010 = 1011
- Since, no carry bit is generated , we take 1's complement of the sum and the final answer is negative.
- Therefore, the difference is negative 0100 i.e. -4.
Similar questions