Sorry I didn't mention the chip. It is a PIC18F45K80. I was asking because the PBP manual talks about needing to mask the interrupts during EEPROM writes. I am using DT's interrupt handling software and have modified it for the K80. My real question is do I use the Define statement to handle masking the interrupts during EEPROM writes?

Thanks