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

IDATA overflow

Hello!

I am using a 80C537 which has 256 bytes of IDATA memory. Now, if the software "tries" to allocate more than 256 bytes of IDATA through nested function calls, the program hangs up... which is understandable.

But is there a way to get a warning or any kind of information about these situations?
I guess it's almost impossible for C51 to determine how functions are called in every situation.
What's a good way to prevent this, besides putting everything in XDATA and forget about IDATA?

Thank you!
Holger

0