The ENDFUNC directive marks the end of an ATPCS-conforming function (see FUNCTION or PROC). ENDP is a synonym for ENDFUNC.
ENDFUNC
ENDP