Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Assembly Language - <b>endp terminate procedure definition masm directive</b> http://www.X-Hacker.org [<<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

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