|
|||||||||||
Technical Support Support Resources
Product Information |
A51: Macros are not expandedInformation in this article applies to:
SYMPTOMSI am using the 8051 A51 assembler version 5.10, and have just tried assembling a file with the following lines as a test:
Upon examining the list file, the repeated lines seem to have been ignored by the Assembler. CAUSEThe GEN Assembler directive must be used to include the MACRO expansions in the listing file. The GENONLY Assembler directive must be used to include the first level MACRO expansion. If neither of these directives is used, MACRO expansions are not listed in the listing file. RESOLUTIONAdd the GEN directive to your A51 command line to include the macro expansion in your listing file. If you don't include that directive, the macro expansions are performed but they are not printed in the list file. For example:
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.