|
|||||||||||
|
Technical Support Support Resources
Product Information |
C51: Setting the Location of the Reentrant Stack PointerInformation in this article applies to:
QUESTIONHow can I set the address of the reentrant stack pointer? It is easy to set the size of the stack, but I can't figure out how to specify the location of the actual pointer. ANSWERYou must modify the startup code as follows (to put the IDATA reentrant stack pointer at address 40h):
Note that you may change DSEG at 40 to whatever address (in DATA space) you want the point to "live" at. Other reentrant stack pointers may be located similarly. 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.