I am guessing that you are dealing with 16 bits or 2 bytes. So the binary is acutally 0100000000000011 The first byte is 01000000 and the second byte is 00000011 First let task binary. As you probably already know: Starting from RIGHT to LEFT Each digit (0 or 1) has an assigned value (10 to the power of X) so the first digit (o or 1) will always equal 0 if 0 and 1 if one, the second digit will always have the value of 0 or 2 (0 if 0 or 2 if 1) The third digit will always have a value of 0 or 4 (0 if 0 or 4 if 1) on and on.
SO for 8 bits the values are 1, 2, 4 ,8, 16, 32 ,64, 128, So for example in your case the first byte (starting from the RIGHT) has a value of 3 (00000011)
For the Second Byte just continue with the 9th bit and use the values 256, 512, 1024, 2048, 4096, 8192, 16384, 32768
so with your chart 32768, 16384, 8192, 4096,2048, 1024, 512, 256, 128, 64, 32, 16, 8, 4 , 2, 1 Plug in the values for your binary number 100000000000011 For example
32768 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 2 +1 gives you the value of 32771
Use you calcualtor and plug in 32771 as a Decimal & then Click the BIN tab, this will give you the answer 8003
2006-09-28 06:55:30
·
answer #2
·
answered by Scott_mct 2
·
0⤊
0⤋