I have the following function calls and the number of bytes allocated on the local stack for each function. main() { 8.1 bytes allocated in local scope; call foo1() } foo1{ 49 bytes allocated call foo2() } foo2{ 278 bytes allocated call foo3() } foo3{ 61 bytes allocated call foo4() } foo4{ 28 bytes allocated call foo5() } foo5{ 24 bytes allocated } Total allocated is 448.1 bytes. Is this too big? I get really funny behavior in foo5 that I normally do not get. Funny behavior like values in foo4 when foo5 returns are blown away.
"C51 will have a hard time overlaying them all to fit them into 256 bytes of combined DATA/IDATA space" Where it would try to fit them would depend on the memory model