Xbee + PIC18F252

I am trying to communicate between two PIC18F252 microcontrollers with Xbee wirelss modules. I am using MPLAB compiler and I keep getting opcode errors. Does anyone have experience with this or example code that might help me with this? Thanks