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,all
I have succeeded in runing ucos (v2.52) in the keil simulator environment, and still confused about the reentrant functions though I searched it here. reentrant stack is also called simulator stack,right? My OS is xp sp2. Keil is C51.EXE V8.06 My project is complied in large mode.
And the quetions are:
1, Does every reentrant function have Its own reentrant stack? Are there the same number of ?C_XBP as the reentrant functions.
2, For all the reentrant functions, Arguments and local variable are stored in the simulator stack,right? If all the functions in my project are reentrant. is there no hardware stack wanted? if not what is it for?
3,How can I know each or the total simulator stack size ?Can I get it from the map file? or other ways.
Thanks
Neil Kurzman, Thanks for your attentions.
Well I got this point, The hardware stack is only for the return address,yeah,I think so. In fact there'll be a lot of internal ram left. right?
Really hope someone can help me the others.