I using SDCC v3.with a SiLab 8051043.
When a pass a char array from the MainLoop to a function the pointer values in the function are zero and the pointer address is not the same as the original array. the values in the original array are unchanged.
It a simple exercise but the pointer does not pass-
the original pointer is in xdata space
any Idea as to what I'm doing wrong???
Please show the code.
And also wich exact version of SDCC are you using?
And have you changed the memory model or other command line options?
Are you using interrupts?