| ??? 12/03/02 07:05 Read: times |
#33631 - RE: stack size corrected |
Yes, stack space must be contiguous. Group all your user-variables into a contiguous block of RAM and start the stack after that.
Its obvious once you realize that the stack is maintained by a single register, the SP (stack pointer) It grows and reduces as a single block with the various call, ret and reti instructions (and interrupts), and there is no mechanism for anything more complex. kundi |
| Topic | Author | Date |
| stack size | 01/01/70 00:00 | |
| RE: stack size corrected | 01/01/70 00:00 | |
| RE: stack size corrected | 01/01/70 00:00 | |
| RE: stack size corrected | 01/01/70 00:00 | |
| RE: stack size corrected | 01/01/70 00:00 | |
RE: stack size | 01/01/70 00:00 |



