I am using A51 for AT89C51ED2. Am I missing something very basic or is there no way to declare space specifically in the internal EEPROM? Do I just declare it as "XDATA" and then use the protocol for reading and writing in EEPROM when accessing it? Seems there ought to be a "PDATA" or "EEDATA" etc.
Thanks
Note that the EEPROM doesn't work like normal memory. You must write own code to check busy flag etc.
And the address space of the EEPROM is overlapping with normal XDATA, so you may have to turn off interrupts before banking in the EEPROM.