This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

How to pass 3D array as an argument to function in keil microvision4.02?

Hi Fellas,

Please help me out in the problem that, I am passing a 3D array as function argument. But instead of referencing to same location of 3D array keil microvision4.02 makes another copy to some other location and now it is duplicating the array and occupying double size in xdata memory (in which i have decalared/defined the 3D array) . At the end , I am exceeding the size of avaiable 32K memory and my program is not compiled properly.

If somwhow I be able to stop this array duplicating and save the array doubling, then I can get rid of my problem. I am using keil micorvision 4.02,TI MSC1210Y5 controller with 32k flash.

Please suggest me.

Regards