problem facing in compiling PIC16F87 device .

I have written a program for the pic microcontroller Pic16F876 . It worked fine . Then changed my device to pic16f87 , the program is not compiling can anyone help me to solve the problem .

The error message is given below

Error[126] C:\PROGRAM FILES\MPLAB IDE\RF_PIC_87\VER_0\PROR6-DEMO-22ND.ASM 13 : Argument out of range (not a valid config register address) Halting build on first failure as requested.

Reply to
Kumar
Loading thread data ...

Are you compiling, or are you assembling the program? It would be much more helpful for you to actually post the code that is in error. Did you change your LIST and INCLUDE pseudo-ops to match the new chip in the .ASM file? You also need to set the target chip type in MPLAB by clicking on Configure and then Select Device.

Reply to
Anthony Fremont

ElectronDepot website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.