Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- TASM 2.x / MASM 6.x Assembly Language - <b>ifdef assemble if name is defined directive</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
IFDEF            Assemble If Name Is Defined                        Directive

  IFDEF name
  statements
  [ELSE
  statements]
  ENDIF

    Initiates a conditional block, causing assembly of statements up to
    the optional ELSE directive, provided name is a label, variable, or
    symbol that has been defined.

       Notes:     The name argument can be any valid name.

                  If the name is defined as a forward reference, then on
                  Pass 1 IFDEF will be false, but on Pass 2 IFDEF will be
                  true.

See Also: IFNDEF

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson