ENDIF Terminate Conditional Block MASM Directive IF... conditional statements [ELSE statements] ENDIF Terminates a conditional block initiated by IF, IF1, IF2, IFB, IFDEF, IFDIF, IFE, IFIDN, IFNB, or IFNDEF.