Texas Instruments interview question

They to reverse a hexadecimal number