EXITM Immediate macro exit Macro Directive
EXITM
You can use the EXITM directive within a macro body to prematurely
terminate the assembly of an included macro body.
When Turbo Assembler encounters EXITM in a macro body that has been
included in the module source code, assembly of the expanded macro
body stops immediately. Instead, TASM will continue assembling the
module at the end of the macro.
You can use the EXITM statement with a conditional assembly directive
to terminate a macro expansion when certain conditions are met.