This awk-script calculates the stack usage from sdcc-generated asm files.
This works only for programms without recursive calls.
Interruptroutins are counted extra, because the stackusage depends
If someone have a better solution, pelase let me know.
On Mon, 06 Jan 2003 18:23:59 +0100
Gernot Fink <gernot.fink@...> wrote:
> This awk-script calculates the stack usage from sdcc-generated asm
> files. This works only for programs without recursive calls.
> Interrupt routines are counted extra, because the stack usage depends
> upon their priority.
> If someone has a better solution, please let me know.
If you mean, can they handle recursive functions, then in general it is
If you mean better than an awk script, then what's wrong with an awk
script? It would be a sinch to rewrite it in python, but why?
Get latest updates about Open Source Projects, Conferences and News.