We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Hello... I need to do a malloc-like function in XDATA with stack-like characteristics. Please advise on where I can find information regarding the stack pointer that is inherent in the RAM of the card. I am currently using SmartMX P5CT072 card. Have tried to search the manuals and files available online but to no avail. Thanks a million in advanced. =)
Section 3 (Language Extensions) of the C51 manual discusses the "software stack" for the various memory models in the Reentrant Functions topic. For the large memory model, the stack pointer is 2 bytes and called ?C_XBP. See STARTUP.A51 for allocating a stack area.