ENDP             Terminate Procedure Definition                MASM Directive

name      PROC      [distance]
name      ENDP

Marks the end of a procedure.

Notes:     The name of the procedure must be supplied with the ENDP

The procedure should contain at least one RET, since a
RET is not automatically generated for the user at the
end of the procedure, as in other programming languages.

Distance can be either NEAR or FAR.

See also: PROC
See also: NEAR
See also: FAR
See also: RET

ENDP Terminate Procedure Definition