From ASMBits


Write a function that converts a 32-bit hexadecimal number into an ASCII character string. For digits 0xa through 0xf, use lower-case ('a' through 'f'). Don't include any leading zeros, but always output at least one digit (so 0x00001000 should print "1000", and 0x00000000 should output "0"). Make sure the output string is null-terminated.

There are two parameters to your function. The first parameter is the location to where you should write the output string. The second parameter is the number to process.

Sample Input


Sample Output


Write your solution here

Upload a source file...