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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
08/12/03 15:02
Read: times


 
#52485 - RE: stack pointer
Responding to: ???'s previous message
The 'ideal' value for the stack pointer is the first slot after your variables. That may leave empty space, or give you overflow. If it leaves empty space, so what; if it overflows, you must move some variables to XDATA.

If your question is "how much space must I reserve" there is no answer. Theoritically you can calculate it, that, however, I have never managed to do correctly in large programs.

Erik

List of 13 messages in thread
TopicAuthorDate
stack pointer            01/01/70 00:00      
   RE: stack pointer            01/01/70 00:00      
   RE: stack pointer            01/01/70 00:00      
      RE: stack pointer            01/01/70 00:00      
         RE: stack pointer            01/01/70 00:00      
      RE: stack pointer - measuring usage            01/01/70 00:00      
         RE: stack pointer - measuring usage            01/01/70 00:00      
            RE: stack profilers            01/01/70 00:00      
   RE: stack pointer            01/01/70 00:00      
      RE: stack pointer            01/01/70 00:00      
         RE: stack pointer            01/01/70 00:00      
            RE: stack pointer            01/01/70 00:00      
               RE: stack pointer            01/01/70 00:00      

Back to Subject List