As others have pointed out, a single hex digit can represent values ranging from 0 to 15 (0-9,A-F). You may know that the number 15 in binary is 1111, the largest value that can be represented with 4 bits. This suggests a method of converting from binary to hex.
Starting from the right, group your binary number into groups of four bits. If you run out of bits on the left side, add some zeroes to make a full group of 4 bits.
Now, for each group of four bits, you must figure out what number is represented by those four bits alone. The values will range from 0 to 15.
Having done that, take this value and represent it in hex. Values from 0 through 9 are represented as digits 0 through 9, of course. Values from 10 to 15 are represented with letters A through F. Write this hex digit above the four bits it represents.
Repeat for all 4 bit groups. When you are done, the series of hex digits read from left to right is the hexadecimal representation of the original binary number.
2006-12-29 04:36:57
·
answer #1
·
answered by arbeit 4
·
0⤊
0⤋
It's just a method to use a single ((one(1)) alpha/numeric digit to represent four binary bits ( invented as a shortcut in digital computer work ). In other words with four bits you can represent decimal numbers ranging from 0 thru 15, however using one decimal character you can only count 0 thru 9, what do we do with 10,11,12,13,14,15,. we call them A,B,C,D,E,F that's all there is to that. Not complicated at all.
2006-12-29 12:21:12
·
answer #2
·
answered by jimmymae2000 7
·
0⤊
0⤋
think of it as columns..
base ten = ones, tens, hundreds, thousands, etc
base two = ones, two's, fours, eights, sixteens, 32's, 64ths, 128ths...
base 16 = ones, 16's, 256's, 4094's ...etc
so 4 in base 10 = 100 in binary = 4 in base 16
194 in base 10 = 11000010 in binary = C2 in Hex(base16)
In base16 (hex) we want to count to 16 in one column so we use A-F to represent 10-15. (we use zero)
2006-12-29 11:57:40
·
answer #3
·
answered by T G 4
·
0⤊
0⤋
I cannot explain it however, if you check out this link perhaps some help will make it easier to understand.
2006-12-29 11:55:57
·
answer #4
·
answered by eyral 2
·
0⤊
0⤋
use windows xp calculator select scientific mode and have fun
2006-12-29 12:16:55
·
answer #5
·
answered by bacamacaamaca 1
·
0⤊
0⤋