Table 3.2.3 Numerals and alphabets used in hexadecimal system
Example: Let us convert the number (235)10 to hexadecimal equivalent. Table 3.2.4 shows the conversion of this decimal number.
Table 3.2.4 Decimal to hexadecimal conversion
Then by arranging the hexadecimals in reverse order i.e. (EB)16. Thus (235)10 = (EB)16 .
1.1.4 Binary coded decimal (BCD)
BCD code expresses each digit of a decimal system by its nibble equivalent. It uses 4 bit binary strings to represent the digits 0 to 9. Figure 3.2.1 shows the representation of number 523 as 010100100011 using BCD system. Due its longer representation scheme, it is now rarely used in micro-electronics programming.
Figure 3.2.1 BCD representation system
Example: (235) 10 can be represented by using PCD as 001000110101.