|ARM Technical Support Knowledge Articles|
Applies to: A51 Macro Assembler
Information in this article applies to:
I am using the 8051 A51 assembler version 5.10, and have just tried assembling a file with the following lines as a test:
REPT 3 NOP ENDM
Upon examining the list file, the repeated lines seem to have been ignored by the assembler.
The 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.
Add 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:
A51 mycode.a51 GEN
Article last edited on: 2004-11-23 15:47:09
Did you find this article helpful? Yes No
How can we improve this article?