Very easy, put this in a module and add it to the project #asm psect eedata,delta=2,abs,ovrld org 2100h // put your data here. Note that using dw to put 16bit values in dosen't work! db 0x55 // eeprom address 0 db 0xAA db 0xFF #endasm Hope that helps Mike > -----Original Message----- > From: Graham Cheetham [SMTP:GrahamCheetham@TELECASTERS.COM.AU] > Sent: Tuesday, February 13, 2001 11:04 PM > To: PICLIST@MITVMA.MIT.EDU > Subject: PICC-LITE EEPROM Access > > Hi, > > I am using the Hitech Picc-lite compiler in the MPLAB environment. I need > to > program some values into the eeprom data area on a 16F84 at programming > time. I know there is a macro assembler directive to do this. Does anyone > know how to get assembler/programmer to do it from within a C source code > file. > > If it can't be done from C, what other options could I use. > > > Regards, > > Graham Cheetham > Telecasters Australia Ltd. > > -- > http://www.piclist.com hint: The PICList is archived three different > ways. See http://www.piclist.com/#archives for details. > > -- http://www.piclist.com#nomail Going offline? Don't AutoReply us! email listserv@mitvma.mit.edu with SET PICList DIGEST in the body