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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
01/19/04 07:55
Read: times


 
#62864 - RE: To Dan Henry - stack question
Responding to: ???'s previous message
Hi,Dan

Thanks to your answer. one more question, can you please confirm

"at the call level of the main loop(0)" means
SP!=STACK_START can only be used within the main loop, not sub-routines (function) which is called by main loop ? for example, not following case.


main()
{
while(1)
{
f1();
}
}

void f1()
{
if(SP!=STACK_START)
{
stack_error();
}
}

Thanks

Daniel

List of 11 messages in thread
TopicAuthorDate
Keil software - stack question            01/01/70 00:00      
   RE: Keil software - stack question            01/01/70 00:00      
      RE: Keil software - stack question            01/01/70 00:00      
         RE: Keil software - stack question            01/01/70 00:00      
         RE: Keil software - stack question            01/01/70 00:00      
            RE: stack pertubation            01/01/70 00:00      
   RE: To Dan Henry - stack question            01/01/70 00:00      
      RE: To Dan Henry - stack question            01/01/70 00:00      
         RE: To Dan Henry - stack question            01/01/70 00:00      
      RE: To Dan Henry - stack question            01/01/70 00:00      
   RE: Keil software - stack question            01/01/70 00:00      

Back to Subject List