FIX: Code Segment Defined within a Procedure (26830)



The information in this article applies to:

  • Microsoft Macro Assembler (MASM) 5.0
  • Microsoft Macro Assembler (MASM) 5.1
  • Microsoft Macro Assembler (MASM) 5.1a

This article was previously published under Q26830

SYMPTOMS

Microsoft Macro Assembler (MASM) versions 5.0, 5.0a, 5.1, and 5.1a assembles the following invalid sample code without genering any error messages:
   myproc proc far
   code segment
   ret
   code ends
   myproc endp
   end
				

STATUS

Microsoft has confirmed this to be a problem in MASM version 5.0, 5.0a, 5.1, 5.1a. This problem was corrected in MASM version 6.0.

Modification Type:MajorLast Reviewed:10/20/2003
Keywords:kbfix KB26830