Introduction - If you have any usage issues, please Google them yourself
This is some of the drivers of PIC18 series I downloaded from microchip's website, and if you need to check it out, you won't be able to find it in so many lines.
Packet : 85375559pic18eeprom.zip filelist
AN1000.asm