|ARM Technical Support Knowledge Articles|
Applies to: General Topics
Information in this article applies to:
When I write a couple of macro definitions with the second commented out, like this:
%DEFINE (RANGE3) (16K) ; Set CS3# Range
; %DEFINE (RANGE3) (1024K) ; Set CS3# Range
the second definition is accepted as valid, even if commented out. Is this the correct behavior?
In order to comment out a MACRO definition you must use a Macro comment rather than an assembler comment.
The Macro comment has the form
So, in order to comment out a macro definition, place the Macro comment at the start of the definition:
%' %DEFINE (RANGE3) (1024K) ; Set CS3# Range
The comment may be terminated either by the end-of-line character or another apostrophe.
Article last edited on: 2006-05-15 08:57:58
Did you find this article helpful? Yes No
How can we improve this article?