On Wed, 25 Feb 2004, Picdude wrote: > > bsf EECON1,WR ; Start write operation > > bcf EECON1,WREN ; Disable writes > > > > bsf INTCON,GIE ; Re-enable interrupts > > > > BANKSEL PIR1 > > > > WriteEEWait: > > btfss PIR1,EEIF ; Check EEIF flag for write completion > > goto WriteEEWait Can an interrupt that occurs while waiting for write completion attempt to read from EEPROM or read/write program memory? -- John W. Temples, III -- http://www.piclist.com hint: To leave the PICList mailto:piclist-unsubscribe-request@mitvma.mit.edu