In order to use the C-compiler, C2C, MPASM needs to have been installed on your computer. If for any reason the installation routine did not find MPASM.EXE or MPASMWIN.EXE, then you will need to set this up yourself. We recommend that you use MPASMWIN rather than MPASM.
First you need to determine the directory where MPASM.EXE / MPASMWIN.EXE has been installed to. By default, this is in the "C:\Program Files\MPLAB" directory. If you cannot find it, then you should re-install it (by running the MPLAB installation executable file in the MPLAB directory on this CD-Rom). Then you must run C2C and select the "Options" screen (which is in the "options" menu). The "Assembler" item should be similar to the following:
c:\Program Files\MPLAB\MPASMWIN.EXE /aINHX8M /p16F84 /rHEX /w2 /q
There are a few other options in the "Compile Options" screen that need to be set up correctly. The "Include" file needs to be set-up similar to the following:
c:\Program Files\MPLAB\P16f84.INC
Also, the "Variable Table Start" should be set to:
0x0c
NOTE: the above information is relevant for using the PIC16F84 or PIC16F84A device. If you intend to use a different target chip, you will need to change the above references appropriately. See the "Using other PICmicro devices" section.