Maybe a suppied question

I want to connect a zigbee via serial interface to a PIC 18F877.

want is the command to present something in HEX!!

I always have to work with binairy to make it workable:

a = %10101000 what is the hex command


thanks