2. Find Subtraction of B06 and C7C using 16's complementSolution:16's complement subtraction steps :
1. At first, find 16's complement of the B(subtrahend).
2. Then add it to the A(minuend).
3. If the final carry over of the sum is 1, then it is dropped and the result is positive.
4. If there is no carry over, then 16's complement of the sum is the final result and it is negative.
Here A = B06, B = C7C.
Find A - B = ? using 16's complement
First find 16's complement of B = C7C
Note : 16's complement of a number is 1 added to it's 15's complement number.
Step-1: 15's complement of C7C is obtained by subtracting each digit from F
Step-2: Now add 1 :
383 + 1 = 384
Step-3: Now Add this 384 to B06
Step by step solution of B06 + 384 = E8A
Write the numbers, so that each digit lines up vertically
Step-1 :
`=6_16+4_16`
`=6_10+4_10`
`=10_10`
`=A_16`
Write the A in the sum place
Step-2 :
`=0_16+8_16`
`=0_10+8_10`
`=8_10`
`=8_16`
Write the 8 in the sum place
Step-3 :
`=B_16+3_16`
`=11_10+3_10`
`=14_10`
`=E_16`
Write the E in the sum place
Here there is no carry, answer is - (16's complement of the sum obtained E8A)
Note : 16's complement of a number is 1 added to it's 15's complement number.
Step-1: 15's complement of E8A is obtained by subtracting each digit from F
Step-2: Now add 1 :
175 + 1 = 176
So answer is -176
This material is intended as a summary. Use your textbook for detail explanation.
Any bug, improvement, feedback then