Code Segment Defined within a Procedure

ID Number: Q26830

5.00 5.00A 5.10 5.10A

MS-DOS

buglist5.00 buglist5.00a buglist5.10 buglist5.10a fixlist6.00

Summary:

Microsoft Macro Assembler (MASM) versions 5.0, 5.0a, 5.1, and 5.1a

assemble the following invalid sample code without genering any error

messages:

foo proc far

code segment

ret

code ends

foo endp

end

More Information:

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.