PIC Basic compiles the code into assembly language. The assembler generates the hex.

Refer to the PBP manual section 8, for more info.