On Saturday 23 August 2003 12:41, Olin Lathrop scribbled: > I've never used FILL, but this should set the first 64 EEPROM locations= to > 0. > > > ??? (I've specified 64 instead of 128, since they're words ..... > > right?). > > No, there should be one value per EEPROM byte. EEPROM data is stored i= n > the HEX file as one byte per instruction word. The MPASM User's Guide states "FILL ..... Generates occurrences o= f=20 program word or byte (PIC18CXX devices), ." I interpret this as bytes for the 18CXX devices, but words for all other=20 devices. Guess I'll have to actually try it. > Also, I would make the defaults so that unused EEPROM is all 1s instead= of > 0s. That's the EEPROM's "natural" default value. The 0's actually mean something to my application, which is why I need to= =20 change them from the start. Every time the circuit powers up, it will ch= eck=20 the EEPROM locations for data saved from the previous time it was running= =2E Cheers, -Neil. --- [This E-mail scanned for viruses] -- http://www.piclist.com#nomail Going offline? Don't AutoReply us! email listserv@mitvma.mit.edu with SET PICList DIGEST in the body