Why aren't I converting 1,564 to binary correctly?

40 Views Asked by At

I am trying to teach myself how to convert to binary using the subtraction method.

$$ 1564-1024=540 \\ 540-512=28 \\ 28-16=12 \\ 12-8=4 \\ 4-4=0 \\ \; \\ \to 11000001100_2 $$

But $1,564 =11000011100_2\neq11000001100_2 = 1,556$

What did I do wrong to get the incorrect result here?

1

There are 1 best solutions below

0
On BEST ANSWER

$1564 = 1024+512+16+8+4=11000011100_2$