Well, I think it's documented.
In the DATA section of the manual it says ...
An optional Label (not followed by a colon) can be assigned to the starting EEPROM address for later reference by the program.
And the READ section shows ...
Read bytes, words and longs (if PBPL used) from the on-chip EEPROM at the specified Address ...
So if you write
Code:
Calibration VAR WORD
EE_Calibration DATA WORD $1045
READ EE_Calibration, WORD Calibration
It will read the 2-byte Calibration value from the EE_Calibration address in EEPROM.
There is no need to know what that address actually is. PBP will assign the address in the order the data statements were received.
If you are getting errors ... posting the code that caused them will help diagnose the problem.
Bookmarks