Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
07/03/01 07:43
Read: times


 
#12989 - RE: how to estimate sp
Hi

in some projects, I put this line in all the different interrupt sources, and also in the most nested functions:

if(SP>maxStack) maxStack=SP;

Then I let the software run, and after some time, I print the maxStack to the serial port, this gave me an idea how close I was to 255

Werner

List of 10 messages in thread
TopicAuthorDate
how to estimate sp            01/01/70 00:00      
RE: how to estimate sp            01/01/70 00:00      
RE: how to estimate sp            01/01/70 00:00      
RE: how to estimate sp            01/01/70 00:00      
RE: how to estimate sp            01/01/70 00:00      
RE: how to estimate sp            01/01/70 00:00      
RE: how to estimate sp            01/01/70 00:00      
RE: how to estimate sp            01/01/70 00:00      
RE: how to estimate sp            01/01/70 00:00      
RE: how to estimate sp            01/01/70 00:00      

Back to Subject List