|
Home > Archive > General Discussion > December 2000 > question on hexidecimal
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
question on hexidecimal
|
|
| stevey 2000-11-30, 8:57 pm |
| I was looking to answer this:
If F = 15 why does FF = 255
I am also looking for some info on hexidecimal.
I know one of you guys knows about this stuff. | |
|
| The hexadecimal number system has 16 digits and alphabetic charcters. Most digital systems (computers) process binary data in groups that are multiplies of four bits. This makes the hexadecimal number very convenient because each hexadecimal represent a 4-bit binary number. This makes it easier to write instructions in programs since it reduces the chance of error in writting a long string of 1's and 0'.
Ten numeric digits and six alphabetic characters make up the hexadecimal number system. The use of A,B,C,D,E, and F to represent numbers may seem strange at first, but keep in mind that any number system is a set of sequential symbols. See the following example.
Decimal Hexadecimal
0 0
1 1
2 2
3 3
4 4
5 5
6 6
7 7
8 8
9 9
10 A
11 B
12 C
13 D
14 E
15 F
16 10
17 11
18 12
19 13
20 14
21 15
22 16
23 17
24 18
25 19
26 1A
27 1B
As you see from this example once you get to F you start over with 0 in the second digit. When you get to FF you are at 255 in decimal, at 256 you add a 0 to the third digit, for example 256 = 100 in hex and 257 = 101 in hex. The maximum 3-digit hex number is FFF or decimal 4095. The maximum 4-digit hex number is FFFF or 65,535.
Hope this helps,
Aim High!
FreddyFlyer MCSE, A+, Net+, i-Net+
[This message has been edited by FreddyFlyer (edited 11-30-2000).] | |
| stevey 2000-12-01, 9:01 am |
| THANKS,I have not seen a example over
16,So I was not sure how to multiply or, add further than 16.I have copied your example to notepad for further review.
|
|
|
|
|