Storing part of code to EEPROM

Hi all

I have code with conditions :

RS[0]=(RDS[0]&&(TS[1]||DS[6]));
RS[1]=(RDS[1]&&(TS[1]&&DS[7]));
RS[2]=!(RDS[2]&&((USR[0]>=USLB[0])||(!RS[2]&&(USR[0]>=USLT[0]))||(USR[0]<=20)));
RS[3]=(RDS[3]&&DS[22]&&TS[3]);
RS[4]=(RDS[4]&&DS[22]&&TS[4]&&!RS[3]);
RS[5]=!(RDS[5]&&DS[16]&&DS[18]&&DS[20]&&!TS[3]&&!TS[4]);
RS[6]=(RDS[6]);
RS[7]=(RDS[7]);

Is there any way how save it in eeprom and load it in boot?
These conditions are specific to a particular device, but the rest of the code is common.

THX

An answer is here:
http://forum.arduino.cc/index.php?topic=44455.msg321775#msg321775

Please follow-up when you have time and read the WiKi article on: Harvard Architecture.

Ray

As far as I know, that is not possible.

You can store various variables in EEPROM. You could either have a program that sets the EEPROM variables to given values before loading the main sketch. Or if you delve into AVRDUDE you can read or set the EEPROM variables from a command line.

So you could store 7 bytes for RS[0] .. RS[6], and then at the beginning copy these into the local array.