Added a subroutine to print hex values to io.asm