Hi, I am using keil C compiler using AT89S8252 as target device. I am good at assembly but a beginer for C language. Using C language, I need to know how do we store and retrive the data in code and eeprom area as we can do in assembly language for the look up tables like 'movc a,@dptr' Thanks for the help. -arun
Thanks to everybody who tried to help me out. I searched out the solution myself. The in built eeprom of AT89S8252 should be treated as XDATA therefore I need to decalre the pointer as uchar xdata *data ptr; and then use the function of reading or wrirting the eeprom by enebling the EEMEN bit in WCON, wrting the data and waiting for data written confirmation. That works fine. Thanks once agn-Arun