Accessing EEPROM

Is there a C technique for writing/reading from a byte in on-chip EEPROM? I can do this in asm with something like this:

clr ea
mov deedat,@r0
mov deeadr,@r1
setb ea

I would prefer to do it in C, and can't find anything that explains it. Thanks.

More questions in this forum