BUG: Invalid A2006 Error Generated by MASM 6.xLast reviewed: October 21, 1994Article ID: Q107500 |
The information in this article applies to:
SYMPTOMSWhen you attempt to assemble the sample code below, the Microsoft Macro Assembler (MASM) fails and reports the following error for the two lines with "mov" instructions:
error A2006: undefined symbol RESOLUTIONTo work around the problem, do one of the following,
-or-
STATUSMicrosoft has confirmed this to be a problem in MASM versions 6.0x, 6.1, 6.1a, and 6.11. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.
Sample Code; Assemble options needed: none
.MODEL small STEST STRUCT f1 BYTE ? f2 BYTE ? STEST ENDS .CODE mov al, SIZEOF STEST.f1 + SIZEOF STEST.f2 mov al, LENGTHOF STEST.f1 + LENGTHOF STEST.f2 ;; Uncomment the lines below and delete the two lines above to avoid ; the A2006 error ; ; temp = SIZEOF STEST.f1 ; mov al, temp + SIZEOF STEST.f2 ; temp = LENGTHOF STEST.f1 ; mov al, temp + LENGTHOF STEST.f2 END |
Additional reference words: buglist6.00 buglist6.00a 6.00 6.00a 6.00b
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |