First page Back Continue Last page Graphics
Two Methods
Two methods for determining space requirements:
- trace the deepest functional calls possible. Add all the local variables, parameters and interrupt routine needs.
- accurate but very difficult to carry out.
- Fill stacks with a known pattern. Run the program for a while see what got used
- easy but not so accurate. Might have missed the worst case.