|ARM Technical Support Knowledge Articles|
Applies to: A166 Macro Assembler
I need to comment out some definitions in my A166 Macros. However, the semicolon (;) does not seem to do that. For example, the following code...
%DEFINE (ADDRESS2) (040000H) ;;;;;;;; %DEFINE (ADDRESS2) (001000H)
defines ADDRESS2 to be 001000h instead of 040000h. What am I doing wrong?
You cannot comment out Macros with a simple semicolon (;). You must use the Macro Comment Function (%'):
%DEFINE (ADDRESS2) (040000H) %' %DEFINE (ADDRESS2) (001000H)
Article last edited on: 2005-07-15 10:39:14
Did you find this article helpful? Yes No
How can we improve this article?