RETCODE          Procedure return                                   Extension

RETCODE [pop_value]

Generates either a near return (2-byte displacement) or a far return
(4-byte displacement) depending on the size of the memory model declared
in the MODEL statement. It is the equivalent of RETN for models with
NEAR code, RETF for models with FAR code.

The optional pop_value specifies a value to be added to SP, which is
equivalent to popping the specified number of bytes from the top of
the stack.

The RETCODE statement does not generate any procedure epilog code.