Quote Originally Posted by scalerobotics View Post
Something is not right. Are you compiling for the right chip, the PIC16F877? Because it does have those registers and bits. Are you using MPASM as your assembler, because the include file requires this. Can you send me your myprogram.lst file? That might tell me more....
Yes i'm compiling for the PIC16F877 using MPSAM as my assembler