MASM Generates Stack Overflow on Code with Redefinition

ID Number: Q34930

5.10 | 5.10

MS-DOS | OS/2

buglist5.10 buglist5.10a fixlist6.00

Summary:

The following example causes MASM to generate the error message,

"run-time error R6000 - stack overflow":

.model small

.code

xx equ <nop>

xx macro

nop

endm

xx

end

The workaround is to remove the redefinition "xx".

Microsoft has confirmed this to be a problem in Version 5.10. We are

researching this problem and will post new information as it becomes

available.