Pages: 1 [2]   Go Down
Author Topic: can you read or write 8 bits at once?  (Read 1664 times)
0 Members and 1 Guest are viewing this topic.
Leeds, UK
Offline Offline
Edison Member
Karma: 80
Posts: 1729
Once the magic blue smoke is released, it won't go back in!
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I agree, once you get used to hex there is little need for binary.

For those that don't know, here is a little tip for Binary to hex conversion:

Take a binary number (works for any number of bits, but lets choose 13 to demonstrate):

Split it into groups of four bits starting from right to left
   1   1011   0110   1010

If there arent a multiple of four bits, then pad with zeros until there are (now you see why I chose 13)
0001   1011   0110   1010

Now convert each group into decimal [base 10] (you can skip this step when you get used to it)
 1      11      6     10

Now convert each group into hex [base 16]
 1       B      6     A

Finally, stick it back together, and you have your hexadecimal number:
« Last Edit: January 01, 2013, 03:43:23 pm by Tom Carpenter » Logged


Pages: 1 [2]   Go Up
Jump to: