if

Starts a conditional assembly block, making assembly conditional on the truth of a boolean expression.

  .if bool-expr

  
Parameter

bool-expr

Any boolean expression.

Remarks

If bool-expr is true, the assembler processes the statements of the block. If bool-expr is false, the assembler skips the statements of the block.

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