We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Hello Sir,
This is Vijay Manohar.
I am trying to add C code to the already existing code.
Assembly code also making use of XDATA space. As I was getting memory overflow problems, I have been defining all the variables in xdata space itself in C code. My question is there any possibilty that C language uses memory consumed by assembly. If that is the case, how to aviod it. We have about 8k of xdata space. Is there any declaration that tells the compiler to use a particular area in xdata for C code.
Help is highly appreciated.
Regards, Vijay Manohar
"Is there any directive to the linker asking it to use the particular memory space in the xdata space."
Yes, but how will that help?
If the Linker can't fit all your data into the available space when given free rein, how is it going to manage if you interfere by restricting its choices?!