Conversion from the Hexadecimal system to the Natural Binary Code System


The conversion from the NBC to the Hexadecimal format is performed by replacing each digit of the hexadecimal number with its 4-bit binary representation. After the conversion the 4-bit binary groups are joined together giving the binary equivalent of the hexadecimal number.

Example:

DC8
D = 1101
C = 1100
8 = 1000

DC8 = 1101 1100 1000 in NBC