There are two ways may do this.
1.
a)declare a EEPROM point
@eeprom U8(or U16) *eeptr;
b)give a address to point
eeptr = (void*)0x880;
c)give point a value
*eeptr = 123;
2.
a) allocate a section at *.lkf file
+seg .eeprom -b0x0880 -m0x10 -n.eevalue
b) use #pragma
#pragma section @eeprom {eevalue}
@eeprom U8 EEmember1 = 0x80;
.....
.....
#pragma section {}
I hope these ways can help you.
Message Edited by Zeke on 2007-02-1401:33 AM