[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
ENDP             Terminate Procedure Definition                MASM Directive

  name      PROC      [distance]
       statements
  name      ENDP

    Marks the end of a procedure.

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

                  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 NEAR FAR RET
This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson