Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- TASM 2.x / MASM 6.x Assembly Language - <b>endp terminate procedure definition directive</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
ENDP             Terminate Procedure Definition                     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.
                  In TASM Ideal mode, the name of the procedure comes last,
                  like this: ENDP [name].

                  Distance can be either NEAR or FAR.

See Also: PROC NEAR FAR RET

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson