Microsoft KB Archive/120066

= BUG: ML Uses DGROUP in Flat Model and Generates A2006 =

Article ID: 120066

Article Last Modified on 2/11/2004

-

APPLIES TO


 * Microsoft Macro Assembler 6.11 Standard Edition

-



This article was previously published under Q120066



SYMPTOMS
The assembler uses the DGROUP symbol to load the DS register with a data segment value in the prolog code, even in a flat-model program. This causes the assembler to generate "error A2006: Undefined symbol: DGROUP" because groups are not supported in flat-model code.

This behavior is demonstrated through the following procedure definition and generated prolog code, both from the listing file: MyProc  proc word_val:WORD

;  push    bp   ;   mov     bp, sp   ;   push    ds   ;   mov     ax, DGROUP ;  mov     ds, ax

ret MyProc  endp



RESOLUTION
To work around the problem, take out the when building in flat model.



STATUS
Microsoft has confirmed this to be a bug in MASM version 6.11. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.

Additional query words: 6.11 buglist6.11

Keywords: KB120066

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.