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 caculate the total reentrant stack size in KeilC?

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

0