|ARM Technical Support Knowledge Articles|
Applies to: C51 C Compiler
Information in this article applies to:
Although 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?
Somewhere 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 uVision project.
Article last edited on: 2005-07-15 10:02:18
Did you find this article helpful? Yes No
How can we improve this article?