BUG: No Error or Code for Multiple END Statements (123661)



The information in this article applies to:

  • Microsoft Macro Assembler (MASM) 6.11

This article was previously published under Q123661

SYMPTOMS

The assembler issues no errors for the following sample code, which contains more than one END statement:
   .model small
   .code

   RET

   END

   RET

   END
				
No code is generated for the RET after the first end.

RESOLUTION

Remove any code that appears after the first END statement.

STATUS

Microsoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.

Modification Type:MinorLast Reviewed:2/11/2004
Keywords:KB123661