MASM 5.1/5.1a @data Group Override Produces Phase Error A2006

ID Number: Q65244

5.10 5.10a | 5.10 5.10a

MS-DOS | OS/2

buglist5.10 buglist5.10a fixlist6.00

Summary:

Page 91 of the "Microsoft Macro Assembler 5.1 Programmer's Guide" for

the Microsoft Macro Assembler (MASM) versions 5.1 and 5.1a states that

the @data text equate represents the group name.

This implies that the code statement with the GROUP override

mov ax, dgroup:[di]

is equal to the following:

mov ax, @data:[di]

However, the code below generates the following error:

A2006: phase error between passes

Microsoft has confirmed this to be a problem in MASM version 5.1. This

problem was corrected in MASM version 6.0.

Sample Code

-----------

.model small

.code

delta proc

mov ax, @data:[di]

delta endp

end