new source code: hexOuputCode

The source file contains code for a function to output a hex value in a
register depending on the size in a different register