|
|||||||||||
Technical Support Support Resources
Product Information |
C51: Stack UsageInformation in this article applies to:
QUESTIONHow does the C51 compiler use the stack? ANSWERThe 8051 hardware stack is used for:
While the 8051 architecture restricts the stack to internal memory, it may be located at any point therein. The stack typically starts following the last individual variable allocation in internal memory and is free to grow "up" through whatever memory remains. C51 stack usage is minimal. Automatic, local variables are overlaid in internal data memory using a strategy that maximizes memory utilization. This is similar to the method used by the Intel PL/M-51 programming language. SEE ALSO
Last Reviewed: Thursday, February 25, 2021 | ||||||||||
|
Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers
of your data.