.exit

The .exit statement allows a macro that is currently being processed to be terminated. By placing the .exit statement within a conditional statement (e.g. an .if statement) it is possible to conditionaly terminate a macro.
syntax:
        .exit

e.g.

foo     .macro  arg1, arg2, arg3

        .if STR(arg1) == ""
        .exit
        .endif

        foo     arg2, arg3
        .db     arg1

        .endm

        foo     "a", "b", "c"
        foo     "a", "b"
        foo     "a"
        foo