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.
hi I am calling a function recursively.but it overwrite the locale variables of that function. when function returns it overwrite the values. Regards FarhanArshad
Did you declare the function using the reentrant keyword? C51 functions are not reentrant or recursive by default. Refer to the manual: http://www.keil.com/support/man/docs/c51/c51_le_reentrantfuncs.htm And to this knowledgebase article: http://www.keil.com/support/docs/1861.htm Jon