10.4.5. Macro local symbols

Symbols can be created in a macro that are local to the macro. You must declare a type for macro local symbols. The type can be any legal C or C++ data type. All symbols declared within macros are automatic variables, that is the static keyword is not recognized. To create the equivalent of a global static variable, use the ADD command to create the symbol before executing the macro that references the symbol.

Copyright © 2003, 2004 ARM Limited. All rights reserved.ARM DUI 0234B
Non-Confidential