4 ms·
There's certainly a stack when running under C51, for function call returns. C51 just assigns local variables into 128 byte data segment. But say, PUSH ACC work
by vardump 10y ago
There's certainly a stack when running under C51, for function call returns. C51 just assigns local variables into 128 byte data segment. But say, PUSH ACC works just fine when you drop into assembler.
Then again, stack on 8051 might be sometimes pretty small. From 10 to 128+ bytes.
- kosma 10y agoRight. Still, the fact that local variables aren't stack- but overlay- based is enough to blow my mind.