GNU Info

Info Node: (nasm.info)Section 4.1.4

(nasm.info)Section 4.1.4


Next: Section 4.1.5 Prev: Section 4.1.3 Up: Section 4.1
Enter node , (file) or (file)node

4.1.4. Undefining macros: `%undef'
----------------------------------

   Single-line macros can be removed with the `%undef' command. For
example, the following sequence:

     %define foo bar
     %undef  foo
     
             mov     eax, foo

   will expand to the instruction `mov eax, foo', since after `%undef'
the macro `foo' is no longer defined.

   Macros that would otherwise be pre-defined can be undefined on the
command- line using the `-u' option on the NASM command line: see *Note
Section 2.1.13::.


automatically generated by info2www version 1.2.2.9