Complement calculations - I don't get the expected results?

31 Views Asked by At

I've just started to study complement calculations and I don't understand why I don't get the correct result.

I need to do $47 - 63$ in complement, using $8$ bits.

$47$ is $00101111$ and $-63$ is $11000001$. $47 - 63$ is $47 + (-63)$, so if I would do an addition for those numbers I thought I'd get $-16$, but I don't.

If I add $00101111$ and $11000001$ I get $11110000$ which is not $-16$.

What is flawed in my logic and how can I calculate $47-63$ properly?