Writing movlw address movwf EEADR movlw data movwf EEDATA bsf Status,rp0 bsf EECON1,WREN movlw 0x55 movwf EECON2 movlw 0xAA movwf EECON2 bsf EECON1,WR wait nop btfsc EECON1,WR goto wait Write is complete bcf Status,rp0 Reading movlw address movwf EEADR bsf Status,rp0 bsf EECON1,RD bcf Status,rp0 movf EEDATA,w Read is complete Tony PicNPoke Multimedia 16F84 Beginners PIC Tools. **PLUS** - PicNPlay - PicNPlan - PicNPrep - PicNPost PicNPort - DT Type Saver - *new* PicNQuiz. Recent addition - Hex To Source converter. http://www.picnpoke.com Email picnpoke@cdi.com.au