how to write a variable in rl78g15 in dataflash/eeprom (save even after power off) and read it?

i am using rl78g15 new 20 pin controller , in application need to store the varible in eeprom and fetch after power transition (last state of the varible),please support

thanks in advance.....