Thanks for trying Joe, but that didn't do it. I think there's something fundamentally wrong, as the compiler doesn't know about 16f689.