| |||||
Technical Support Support Resources
Product Information | µVISION: OPTIMIZING VARIABLE MEMORY TYPESInformation in this article applies to:
SYMPTOMSWhen creating large programs with numerous global variables, variable memory spaces may be optimized to provide faster access and smaller generated code. CAUSEFrequently used variables may be moved from the default memory space into a more efficiently accessed memory area. RESOLUTIONUse 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. MORE INFORMATIONRefer to page 42 in the Getting Started and Creating Applications with µVision and the 166/ST10 User's Guide 07.99. SEE ALSOLast Reviewed: Wednesday, August 03, 2005 | ||||
| |||||