[<<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.ousob.com --- NG 2 HTML conversion by Dave Pearson