FIX: A1010 from Unclosed Segment in MASM @ShowStr Macro (74925)
The information in this article applies to:
- Microsoft Macro Assembler (MASM) 6.0
This article was previously published under Q74925 SYMPTOMS
The Microsoft Macro Assembler (MASM) version 6.0 includes a predefined
macro in DOS.INC called @ShowStr that displays a $-terminated string. When
the argument to @ShowStr is a string literal and there are no segment
directives or ends directives following the occurrence of @ShowStr, the
assembler will generate the following error:
fatal error A1010: unmatched block nesting: _DATA
RESOLUTION
To work around this problem, make sure that a simplified segment directive
or ends directive follows the @ShowStr macro.
STATUS
Microsoft has confirmed this to be a problem in MASM version 6.0. This
problem was corrected in MASM version 6.0a.
Modification Type: | Major | Last Reviewed: | 10/17/2003 |
---|
Keywords: | kbfix KB74925 |
---|
|