Storing IR codes in EEPROM

Have a look at Arduino Playground - EEPROMWriteAnything.