problem with programming for atmega32

hello

i want to store a pin status for atmega32(i.e PINC.1) in eeprom so the volage on this pin is as that was before power off so how i store it. and also i want to store a mobile number once and it remain all time of life cycle(for gsm based project) and compare it when a call will make on gsm modem

so give me some code idea

https://forum.sparkfun.com/viewtopic.php?f=15&t=27089

balvendra:
…so give me some code idea

[Here is your code.](http://lmgtfy.com/?q=eeprom+atmega32)