ENDM Cannot Be Used to Return a Value From a Macro Function

ID Number: Q72705

6.00 | 6.00

MS-DOS | OS/2

docerr

Summary:

In the online help for the Microsoft Macro Assembler (MASM) version

6.0, the definition for the MACRO directive lists the ENDM directive

as taking an optional value that is returned from the macro. This is

incorrect. The only way to write a macro function that returns a value

is with the EXITM directive.