You're right Mat. I am using a 16F873A but the compiler was set to 873. Stupid me.