I'm new to programing PICs myself but I am sure that I saw something in the data sheet about converting dec to hex, although it may have been BCD to hex. Oddly enough I need to do this for a project of mine so I will look in the data sheet again and see if I can be of more help.
I m begginer in programming pic .
My project :
I read logical function 0 and 1 from 8 pin then convert to decimal and hexadecimal show it on 3 digit 7 segment display