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.

Seealso:



This page last updated on Fri Nov 30 10:49:50 MSK 2001
Copyright © 1992-2001, Vitaly Filatov, Moscow, Russia
Webmaster