I generally agree, but next time please remember to at least write which PIC you are using, because different families have sometimes very different peripheral mechanisms (although what Easyrider83 said is true for all of PIC micros, maybe excluding pic32 because it's MIPS core and may have interrupts handled in different way).