Wanting to use the 16C84 EEPROM data memory, I inserted the following code into an existing 16C84 program, which is intended to write 12H into the first location, to try the technique out: ;PUT SOMETHING INTO EEPROM DATA MEMORY MOVLW 00H ;EEPROM ADDRESS TO WRITE TO MOVWF EEADR MOVLW 12H ;EEPROM DATA TO PUT THERE MOVWF EEDATA ;STUFF FROM PAGES 31-32 OF PIC16C84 DATA MOVLW 55H MOVWF EECON2 MOVLW 0AAH MOVWF EECON2 BSF EECON1,WR ;WR = 1 BSF EECON1,WREN ;WREN = 2 After running the program, I put the chip into my programmer and read the program and EEPROM data memory into the buffers, but the EEPROM data has not changed. Can someone please tell me what I am doing wrong? Leon -- Leon Heller, G1HSM | "Do not adjust your mind, there is E-mail leon@lfheller.demon.co.uk | a fault in reality": on a wall Phone: +44 (0)1734 471424 | many years ago in Oxford.