To pack single hex digits into a hex byte, just shift the first digit left four times, then add it to the second digit.

Ron