µVISION: OPTIMIZING VARIABLE MEMORY TYPES
Information in this article applies to:
When creating large programs with numerous global variables, variable memory spaces may be optimized to provide faster access and smaller generated code.
Frequently used variables may be moved from the default memory space into a more efficiently accessed memory area.
Use the source browser in µVision to display the variables used in your program. Click on the Uses column to sort the list of variables by the number of times the variable is used. Modify your code to locate the most frequently used variables in near memory (if possible). This will speed up access to these variables.
Last Reviewed: Wednesday, August 3, 2005
of your data.