Hi
Why does this declaration not work: char xdata *pointer _at_ postion;
but this one works: char xdata array[1] _at_ postion;
Should be theoretically the same, or not?
Thanks Egon
"Should be theoretically the same, or not?"
even leaving aside the Keil-specific 'xdata' extension, they are not the same at all!
one is an array; the other is just a pointer.
Regarding the Keil-specific 'xdata' extension - remember that there are two memory spaces to consider for a pointer:
1. The memory space where the pointer itself is located; 2. The memory space to which the pointer points.
www.keil.com/.../c51_le_memspecificptrs.htm
Your right, too much thinking today, therefore the confusion!!
Thanks for the link, the conversion of the generic pointer to a memory specific pointer solves the compiler error!
Thanks for the quick help
View all questions in Keil forum