- #1
Fatima Hasan
- 319
- 14
Homework Statement
Using 8 bit representation , subtract the unsigned binary numbers shown by each of the following methods ;
101012 - 10112
1) Binary subtraction
2) 2's complement
Homework Equations
-
The Attempt at a Solution
Using binary subtraction :
101012 - 10112 = 0000 10102
Using 2's complement :
101012 + ( - 10112 )
10112 → 1's complement = 01002
01002 +1 = 01012
101012 + 1012 = 0001 10102
I didn't get the same answer , can anyone tell me where is my mistake ?