.ifdef

Starts a conditional assembly block, making assembly conditional on the definition of a symbol.

  .ifdef symbol statement-group    
Parameters

symbol

Any valid symbol.

statement-group

Any valid assembly statements.

Remarks

If previous code includes a definition for symbol, the assembler processes the statements of the block. If symbol is not defined, the assembler skips the statements of the block.

Each .ifdef directive must have a matching .endif directive.