??? 11/29/08 18:19 Read: times |
#160419 - Stack Management Responding to: ???'s previous message |
You need to get into your C compiler manual to read up on how the stack location and allocated size is managed. This is often controlled and setup in the "startup code" that is linked on to the C program to create the run mode binary for your program. You are normally allowed to modify the startup code to suit special situations if the default behavior is not suitable to your needs. Do note that many compilers or linkers have special command line switches or vendor specific pseudo ops that can be used to set stack characteristics. Once again the manual or web based knowledge base is your friend here.
Michael Karas |
Topic | Author | Date |
Program hangs at one point - 8051F340 | 01/01/70 00:00 | |
Assembly window | 01/01/70 00:00 | |
hyper terminal interface | 01/01/70 00:00 | |
Stack size? | 01/01/70 00:00 | |
Stack size | 01/01/70 00:00 | |
Stack Management | 01/01/70 00:00 | |
Watchdog | 01/01/70 00:00 | |
stack and preview.. | 01/01/70 00:00 | |
Limited stack | 01/01/70 00:00 | |
Where is the UART ISR? | 01/01/70 00:00 | |
ISR for UART | 01/01/70 00:00 | |
ISR for UART? | 01/01/70 00:00 | |
why "TI0=1;" is required | 01/01/70 00:00 | |
No, it isn't | 01/01/70 00:00 | |
Solved - I guess | 01/01/70 00:00 | |
'polling' is NOT "standard C" | 01/01/70 00:00 | |
You are right Erik.. | 01/01/70 00:00 | |
Thought I will thank you individually..![]() | 01/01/70 00:00 | |
Disable watchdog | 01/01/70 00:00 | |
and in Keil it is: | 01/01/70 00:00 | |
Status : WDT disabling in the status worked | 01/01/70 00:00 |