|
|||||||||||
Technical Support Support Resources
Product Information |
A51: Local Labels Don't Work in MacrosInformation in this article applies to:
SYMPTOMSI have defined the following MACRO in my assembly file:
When I assemble this in my program, I get the following error message:
What can I do for this? CAUSEThe LOCAL directive must be specified immediately after the MACRO definition. If it is not, the text LOCAL will be included in the macro expansion. Since LOCAL is not a recognized keyword (by the assembler), the error results. RESOLUTIONChange your macro definition to read as follows:
When you re-assemble your program, the error will go away. MORE INFORMATIONRefer to the A51/AX51 User's Guide, Chapter 5, Assembler Macros, Labels for more information about the LOCAL directive. 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.