SonniE
08-20-2008, 07:34 PM
This is going to be a short tutorial on hexadecimal usage since some beginners might not understand it.
Hexadecimal is a number system that uses some letters.
Example:
Hexadecimal Counting...
1 2 3 4 5 6 7 8 9 A B C D E F 10 11 12 13 14 15 16 17 18 19 1A 1B 1C 1D 1E 1F 20
Decimal Counting...
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
now just because both went to "20" don't mean they have the same value
20 in hexadecimal is equal to 32 in decimal.
20 in decimal is equal to 14 in hexadecimal.
how to convert? GET A HEX CALCULATOR! i coded one in php and c++ check your calculator on your computer normally in accessories or something on some windows packages you get one with other number system compatibility.or u could try google.
Heres a little cheat sheet if you need to convert between real addressing.
Real Addressing is the way your ram is normally setup nitepr has it -08800000
Fake +088 Real
0x017 -> 0x09F
0x016 -> 0x09E
0x015 -> 0x09D
0x014 -> 0x09C
0x013 -> 0x09B
0x012 -> 0x09A
0x011 -> 0x099
0x010 -> 0x098
0x00F -> 0x097
0x00E -> 0x096
0x00D -> 0x095
0x00C -> 0x094
0x00B -> 0x093
0x00A -> 0x092
0x009 -> 0x091
0x008 -> 0x090
0x007 -> 0x08F
0x006 -> 0x08E
0x005 -> 0x08D
0x004 -> 0x08C
0x003 -> 0x08B
0x002 -> 0x08A
0x001 -> 0x089
0x000 -> 0x088
Those are the 1st 3 digits of an address heres examples of the whole 32 bit(8digit) address: Notice the Red will listed above.
0x00BC0038 -> 0x093C0038
0x00606398 -> 0x08E06398
0x000E2312 -> 0x088E2312
This Was a Tutorial By: SonniE You may only repost on Affiliated Sites With codinghs in the post. reposting this elsewhere will result in a ban.
if you want to download a Basic Hex Calculator i coded in c++
DOWNLOAD HERE (http://www.codinghs.com/forums/attachment.php?attachmentid=11&d=1212398979)
You Can View The Source HERE (http://www.codinghs.com/forums/showpost.php?p=7590&postcount=1)
Hexadecimal is a number system that uses some letters.
Example:
Hexadecimal Counting...
1 2 3 4 5 6 7 8 9 A B C D E F 10 11 12 13 14 15 16 17 18 19 1A 1B 1C 1D 1E 1F 20
Decimal Counting...
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
now just because both went to "20" don't mean they have the same value
20 in hexadecimal is equal to 32 in decimal.
20 in decimal is equal to 14 in hexadecimal.
how to convert? GET A HEX CALCULATOR! i coded one in php and c++ check your calculator on your computer normally in accessories or something on some windows packages you get one with other number system compatibility.or u could try google.
Heres a little cheat sheet if you need to convert between real addressing.
Real Addressing is the way your ram is normally setup nitepr has it -08800000
Fake +088 Real
0x017 -> 0x09F
0x016 -> 0x09E
0x015 -> 0x09D
0x014 -> 0x09C
0x013 -> 0x09B
0x012 -> 0x09A
0x011 -> 0x099
0x010 -> 0x098
0x00F -> 0x097
0x00E -> 0x096
0x00D -> 0x095
0x00C -> 0x094
0x00B -> 0x093
0x00A -> 0x092
0x009 -> 0x091
0x008 -> 0x090
0x007 -> 0x08F
0x006 -> 0x08E
0x005 -> 0x08D
0x004 -> 0x08C
0x003 -> 0x08B
0x002 -> 0x08A
0x001 -> 0x089
0x000 -> 0x088
Those are the 1st 3 digits of an address heres examples of the whole 32 bit(8digit) address: Notice the Red will listed above.
0x00BC0038 -> 0x093C0038
0x00606398 -> 0x08E06398
0x000E2312 -> 0x088E2312
This Was a Tutorial By: SonniE You may only repost on Affiliated Sites With codinghs in the post. reposting this elsewhere will result in a ban.
if you want to download a Basic Hex Calculator i coded in c++
DOWNLOAD HERE (http://www.codinghs.com/forums/attachment.php?attachmentid=11&d=1212398979)
You Can View The Source HERE (http://www.codinghs.com/forums/showpost.php?p=7590&postcount=1)