|
|||||||||||
|
Technical Support Support Resources
Product Information |
C51: Variables Created in XDATA Using Small ModelInformation in this article applies to:
QUESTIONAlthough I select Memory Model Small: Variables in DATA, the data variables in my program are being created in extended memory (XDATA). How can this happen? ANSWERSomewhere in your source code you have a #pragma statement specifying the LARGE or LA control directive. When the compiler finds this directive in the source code, it builds local variables and data segments in extended memory (XDATA) instead of using the Memory Model selection in the µVision project. MORE INFORMATION
SEE ALSOLast 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.