Hexadecimal numbers into binary-coded hexadecimal code (bch