You can use @eeprom to declare variables in EEPROM @eeprom char var1; or you can use #pragma to declare all your variables in EEPROM The compiler uses a runtime library for eeprom variable operations With Metrowerks compiler: You can define a different data segment for EEPROM variables and constants and then define this segment in .prm file in source file use #pragma DATA_SEG EEPROM_DATA unsigned char var1; in .prm file use PLACEMENTS EEPROM_DATA INTO EEPROM refer to compiler manual for read write operations as they may require some EEPROM register settings. Hope this Helps, Best Regards, PraveenG
Thanks for Your answer. My concern are constants (like look- up tables or character- strings) directly programmed in the EEPROM with InDart / Assembler. Kind regards hansjusch