Department of Computer Scien
ce and Information Engineering
National Cheng Kung University, TAIWAN
HANEL
- Convert to binary first and then convert to hexConvert directly from decimal to hex by repeated division, keeping track of the remaindersEx. Convert NUMBERING AND CODING SYSTEMSConverting from Decimal to Hex
to hex
32 + 8 + 4 + 1 =
- =
= 2D
- Ex. Convert
- to hex
-
-
-
-
-
-
-
-
-
-
- = 512+64+32+16+4+
- =
- =
-
- Convert from hex to binary and then to decimalConvert directly from hex to decimal by summing the weight of all digitsEx. 6B NUMBERING AND CODING SYSTEMSConverting from Hex to Decimal
=
-
-
-
-
-
-
-
-
-
-
-
- 1024 + 512 + 128 + 32 + 16 + 2 =
-