Group Statement and Public Variable

ID Number: Q30503

4.00 5.00

MS-DOS

buglist5.10

Question:

I am assembling the following code and viewing the object

module. In the object module, public variable test1 is not being

assigned to the group definition for the segment. Test1 is shown as

type 132 in the .OBJ file and test2 is shown as type 0.

Is this correct behavior? If so, why are the public variables

handled differently?

CODE SEGMENT PARA PUBLIC 'CODE'

CGROUP GROUP CODE

ASSUME CS:CGROUP

PUBLIC TEST1

TEST1 LABEL BYTE

PUBLIC TEST2

TEST2:

CODE ENDS

END

More Information:

Microsoft is researching this problem and will post new information

as it becomes available.