I MUST set a pointer to 0xFF0000 in code space and use instructions as follows:
char code *ptr = 0xFF0000; value = *ptr;
In C51, a CODE pointer is used to access the CODE memory (which is limited to 64K). A far pointer can access memory anywhere in the address space (which is limited to 16M). Note that the Dallas 390/400/5240 supports 16M of XDATA and 16M of CODE for a total of 32M of address space. And, that the Keil C51 compiler supports only 16M of total address space (8M of RAM and 8M or ROM). Jon
View all questions in Keil forum