As previously stated, you program the pic with the hex code, this is derived from the asm file created using a text editor.
The asm file is then assembled using the appropriate assembler, in the case of the pic I would use Mpasm from Microchip. This generates your hex file for you and also if there are any problems it will output an error list too, handy for debugging.
You will need a programmer that supports the the device you wish to program and the application software for the programmer.
Checkout my website for a suitable pic programmer and there is probably a link for software for it too.....