Re: help..
Hi Cleong,
No worries, I was where you are not so long ago.
MPLab is an assembler, and it assembles your source to a hex file which the PIC can read.
CCS is a C compiler. It compiles your source, also to a hex file which the PIC can read.
Although the inputs to both are different, the outputs are the same.
Even though you won't be able to do anything further with your file, MPLab will understand the hex format, and will treat the file the same as if it had produced it.
If you look under the File Menu in MPLab, you will see Import... and Export... about half way down. Choose Import...
When the dialog box comes up, select the .hex file you want to use to program your PIC.
Then just send the hex file the way you normally would to program the PIC.
I hope this makes it clear, just give it a try, then come back here if you need to.
Sometimes doing this MPLab has given me an error, can't recognize file format. I had to repair my installation. I just let you know, so if you run into this problem, come back and I'll tell you how to fix that.
Best wishes,
Robert