
6-13
〈
How to convert the decimal number to hexadecimal number
〉
The decimal numbers are divided into following three categories.
Calculation method is different in three categories respectively.
(1) 0 ~ 255
→
00h ~ FFh
(2) 256 ~ 4095
→
0100h ~ 0FFFh
(3) 4096 ~ 65536
→
1000h ~ FFFFh
If the decimal number fall into the category (1);
1)
Divide the decimal number by 16. Result is “A”.
2)
Take the integer portion of the number “A” as “B”.
3)
Calculate the equation (A–B)
×
16. Result is “C”.
4)
“B” is the second digit number of the hexadecimal number
and “C” is the first digit number of the hexadecimal number.
(BC)h
(Example)
If the decimal number is “189”;
1)
189 ÷ 16 = 11.8125 ·························································· (A)
↑
2)
(B)
3)
(11.8125–11)
×
16 =13 ························································ (C)
4)
189
→
(BD)h is obtained.
If the decimal number fall into the category (2);
1)
Divide the decimal number by 256. Result is “A”.
2)
Take the integer portion of the number “A” as “B”.
3)
Calculate the equation (A-B)
×
256. Result is “C”.
4)
Take the integer portion of the number “C” as “D”.
5)
Calculate the equation (C-D)
×
16. Result is “E”.
6)
“B” is the third digit number, “D” is the second digit number
and “E” is the first digit number of the hexadecimal number.
(BDE)h
(Example)
If the decimal number is “2100”;
1)
2100 ÷ 256 = 8.203125 ···················································· (A)
↑
2)
(B)
3)
(8.203125 – 8)
×
256 ÷16 = 3.25 ······································· (C)
↑
4)
(D)
5)
(3.25–3)
×
16 = 4 ································································ (E)
6)
2100
→
(834)h is obtained.
If the decimal number fall into the category (3);
1)
Divide the decimal number by 4096. Result is “A”.
2)
Take the integer portion of the number “A” as “B”.
3)
Calculate the equation (A–B)
×
4096 ÷ 256. Result is “C”.
4)
Take the integer portion of the number “C” as “D”.
5)
Calculate the equation (C–D)
×
256÷16. Result is “E”.
6)
Take the integer portion of the number “E” as “F”.
7)
Calculate the equation (E–F)
×
16. Result is “G”. (Round the
number “G” to count fractions of 0.5 and over as a unit and cut
away the rest.)
8)
“B” is the fourth digit number, “D” third digit number, “F” is
the second digit number and “G” is the first digit number of
the hexadecimal number. (BDFG)h
(Example)
If the decimal number is “31814”;
1)
31814 ÷ 4096 = 7.7670898 ·············································· (A)
↑
2)
(B)
3)
(7.7670898 – 7)
×
4096 ÷ 256 = 12.273436 ····················· (C)
↑
4)
(D)
5)
(12.273436 – 12)
×
256 ÷ 16 = 4.374976 ·························· (E)
↑
6)
(F)
7)
(4.374976–4)
×
16 = 5.999616
(Round the number to count fractions of 0.5 and over as a
unit and cut away the rest.)
↓
8)
6 ·································································· (G)
9)
31814
→
(7C46)h is obtained.
〈
How to convert the hexadecimal number to decimal number
〉
If the hexadecimal number is (ABCD)h, the decimal number is
calculated by the following equation.
(A
×
4096) + (B
×
256) + (C
×
16) + (D
×
1) = decimal number
(Example)
If the hexadecimal number is “(3BA4)h”:
(3
×
4096) + (11
×
256) + (10
×
16) + (4
×
1)=15268
Summary of Contents for Handycam CCD-TR501E
Page 7: ......
Page 8: ......
Page 9: ......
Page 10: ......
Page 11: ......
Page 12: ......
Page 13: ......
Page 14: ......
Page 15: ......
Page 16: ......
Page 17: ......
Page 18: ......
Page 19: ......
Page 20: ......
Page 21: ......
Page 22: ......
Page 23: ......
Page 24: ......
Page 30: ...2 6 2 11 INTERNAL VIEWS LEFT SIDE RIGHT SIDE ...
Page 32: ......
Page 33: ......
Page 34: ......
Page 35: ......
Page 36: ......
Page 37: ......
Page 38: ......
Page 39: ......
Page 40: ......
Page 41: ......
Page 42: ......
Page 43: ......
Page 44: ......
Page 45: ......
Page 46: ......
Page 47: ......
Page 48: ......
Page 49: ......
Page 50: ......
Page 51: ......
Page 52: ......
Page 53: ......
Page 54: ......
Page 55: ......
Page 56: ......
Page 57: ......
Page 58: ......
Page 59: ......
Page 60: ......
Page 61: ......
Page 127: ......
Page 166: ......
Page 168: ......
Page 169: ......
Page 170: ......
Page 171: ......
Page 172: ......
Page 173: ......
Page 174: ......
Page 175: ......
Page 176: ......
Page 177: ......
Page 178: ......
Page 179: ......
Page 180: ......
Page 181: ......
Page 182: ......
Page 183: ......
Page 184: ......
Page 185: ......
Page 186: ......
Page 187: ......
Page 188: ......
Page 189: ......
Page 190: ......
Page 191: ......
Page 192: ......
Page 193: ......
Page 194: ......
Page 195: ......
Page 196: ......
Page 197: ......
Page 198: ......
Page 199: ......
Page 200: ......
Page 201: ......
Page 202: ......
Page 203: ......