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.
This explains how Keil C51 accesses the 8051's different memory spaces - including SFRs:
http://www.keil.com/support/man/docs/c51/c51_le_memareas.htm