Apakah yang dimaksudkan Hex ?
http://en.wikipedia.org/wiki/Hexadecimal
http://linux.about.com/cs/linux101/g/hexlparhexadeci.htm
Pada permulaan pergi ke http://www.shareordie.com/forum/index.php?showtopic=3269 untuk belajar perduaan (binary) .
OK, 1453752 101100010111010111000 perduaan (binary) , kini kita beralih ke beberapa hex.
Nombor hex pertama seperti begini:
1 = 1
2 = 2
.
.
9 = 9
10 = A
11 = B
12 = C
13 = D
14 = E
15 = F
Sekarang anda perlu mengambil octet pertama (yang paling kanan 4) dan diletakkan di bawah grid kecil ini:
8 4 2 1
--------
1 0 0 0 = 8
Lihat 1 di bawah kolum 8?
Itulah apa yang anda menambah.
Jadi octet seterusnya adalah 1011, meletakkan ia di bawah grid:
8 4 2 1
--------
1 0 0 0 = 8
1 0 1 1 = B
Lihat 8 2 1 = 11, jadi anda bukan sahaja mengatakan 11 anda perlu memasukkannya ke dalam beberapa Hex, yang B.
Jadi nombor hex penuh 1453752 ialah:
8 4 2 1
--------
1 0 0 0 = 8
1 0 1 1 = B
1 1 1 0 = e
0 0 1 0 = 2
0 1 1 0 = 6
0 0 0 1 = 1 <- Hanya menambah sifar jika ia tidak oktet penuh
162EB8
Jadi jika anda mahu menghidupkan beberapa dalam versi pendek Hex, hanya berpaling ke perduaan, kemudian gunakan grid ini .
In English
What is mean by Hex?
http://en.wikipedia.org/wiki/Hexadecimal
http://linux.about.com/cs/linux101/g/hexlparhexadeci.htm
First go to http://www.shareordie.com/forum/index.php?showtopic=3269 to learn binary.
OK, 1,453,752 is 101100010111010111000 is binary, now we turn it into a Hex number.
First Hex numbers goes like this:
1=1
2=2
.
.
9=9
10=A
11=B
12=C
13=D
14=E
15=F
Now you need to take the first octet (the far right 4) and place it under this little grid:
8 4 2 1
--------
1 0 0 0 = 8
See the 1 under the 8 column?
That is what you add.
So the next octet is 1011, put it under the grid:
8 4 2 1
--------
1 0 0 0 = 8
1 0 1 1 = B
See 8+2+1=11, so you can't just say 11 you have to put it in a Hex number, which is B.
So the full Hex number of 1,453,752 is:
8 4 2 1
--------
1 0 0 0 = 8
1 0 1 1 = B
1 1 1 0 = E
0 0 1 0 = 2
0 1 1 0 = 6
0 0 0 1 = 1 <-- Just add zero if it isn't a full octet
162EB8
So if you want to turn a number in to the shorter version of Hex, just turn it into binary, then use this grid and you'll do fine