I'm working Renesas at this time and can't test myself. someone asked me a Keil ''51 question I can't nswer: "can you use xdata for local variables.
I guess the answer is no, (the call tree) if someone has the answer, please let me know
Erik
There should be absolutely no problem with locating a local variable to xdata. When you use the memory model 'large', the local variables will be located there anyway. Even variable overlaying is implemented for local xdata variables. If your application does not work as expected, please check if the local variable is located at a valid/existing xdata address.