|
|||||||||||
Technical Support Support Resources
Product Information |
A51: Locate Syntax Erros when using MacrosInformation in this article applies to:
QUESTIONI wrote the following small assembler program using macros:
These syntax errors were generated. What is wrong with my code?
ANSWERThe syntax problem is within the macro you have written. You should include the macros in the listing. This is enabled under µVision with Project - Options for Target - Listing - Assembler Listing - Assembler Listings - Macros - All Expansions or from the command line with the GEN assembler directive. Then you can see the real syntax problem:
In your code, the symbol ADDRPORT is not defined, which caused the syntax problem. 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.