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

Back to Subject List

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


 
#53558 - RE: HELP ME! Stack space overflow !
Responding to: ???'s previous message
its project really deep is contain menuing on graphic lcd

from start GLCD to end of layer(menu) (only have 78 nested !)

and some other call editing func ....

You need to rethink your software design to fit the 8051 resources, thats all what engineering is about.
Hints:
1. You can't program PC style on limited resources of 8051(2) you have to keep that in mind when designing the software.
2. use array of structures and function pointers for your menus instead of function calls. this way your variables get stored in xdata.
3. use the keyword const for constants so that they get stored in rom and save ram space.
4. After all 8052 is limited in resources and can't be applied for everything, you have to decide for yourself, is it capable to do the job you require or not, that is the question!
Regards
Mahmood



List of 16 messages in thread
TopicAuthorDate
HELP ME! Stack space overflow !            01/01/70 00:00      
   RE: HELP ME! Stack space overflow !            01/01/70 00:00      
      RE: HELP ME! Stack space overflow !            01/01/70 00:00      
   RE: HELP ME! Stack space overflow !            01/01/70 00:00      
   RE: HELP ME! Stack space overflow !            01/01/70 00:00      
      RE: HELP ME! Stack space overflow !            01/01/70 00:00      
         RE: HELP ME! Stack space overflow !            01/01/70 00:00      
            RE: HELP ME! Stack space overflow !            01/01/70 00:00      
            RE: HELP ME! Stack space overflow !            01/01/70 00:00      
               RE: HELP ME! Stack space overflow !            01/01/70 00:00      
         RE: HELP ME! Stack space overflow !            01/01/70 00:00      
   RE: HELP ME! Stack space overflow !            01/01/70 00:00      
      RE: HELP ME! Stack space overflow !            01/01/70 00:00      
   How about a State Machine instead?            01/01/70 00:00      
      RE: How about a State Machine instead?            01/01/70 00:00      
         RE: How about a State Machine instead?            01/01/70 00:00      

Back to Subject List