I am using a Philips 89C662 (with 768 bytes ERAM) and 32kByte XRAM.
I would like to declare variables (globals and/or locals) in XRAM and and others in ERAM.
idata int g_ivar;
edata char g_evar = "Global in ERAM";
data int dvar1, dvar2; // 2 variables in internal ram
xdata int xvar1, xvar2; // 2 variables in off-chip xram
edata int evar1, evar2; // 2 variables in on-chip eram
dvar1 = xvar2 * evar1;
"I did not find it in the manuals."
Did you try a search on this website?
Does this help:
View all questions in Keil forum