EXITM - Exit from a Macro

MPASM Assembler

EXITM - Exit from a Macro

Syntax

exitm

Description

Force immediate return from macro expansion during assembly. The effect is the same as if an endm directive had been encountered.

Example

test macro filereg

if filereg == 1 ; check for valid file

exitm

else

error "bad file assignment"

endif

endm

See Also

ENDM MACRO


Microchip Technology Inc.
Microchip's Web Site
Voice: (480) 792-7200
Fax: (480) 899-9210
Microchip's E-mail Address
PreviousNext