"A.J. Tufgar" wrote: > > Hello all, > I'm using a 'F627 and when I program the chip I would like > addr 0 of the data eeprom to start with a specific value. How do I > specifiy the value in my asm file? > > Thanks in advance, > Aaron The assembler expects EEPROM data to start at address 0x2100. You can then use the DE directive to specify the data. This stores 22h and 34h in EEPROM addresses 00h and 01h org 0x2100 DE 0x22, 0x34 This stores 22h and 34h in EEPROM addresses 10h and 11h org 0x2110 DE 0x22, 0x34 This stores "Hello World" starting at EEPROM address 00h org 0x2100 DE "Hello World" This stores "Hello World" starting at EEPROM address 00h, followed by a null terminator. org 0x2100 DE "Hello World", 0x00 This stores "Hello World" starting at EEPROM address 00h, follwed by numerical data org 0x2100 DE "Hello World", 0x00, 0x01, 0x02 DE 0x03, 0x04, 0x05, d'6', 6h, b'00011100' -- Best regards Tony mICros http://www.bubblesoftonline.com mailto:sales@bubblesoftonline.com -- http://www.piclist.com#nomail Going offline? Don't AutoReply us! email listserv@mitvma.mit.edu with SET PICList DIGEST in the body