FIX: Whitespace Character Must Precede DUP Operator (77078)
The information in this article applies to:
- Microsoft Macro Assembler (MASM) 6.0
- Microsoft Macro Assembler (MASM) 6.0a
- Microsoft Macro Assembler (MASM) 6.0b
This article was previously published under Q77078 SYMPTOMS
When using the DUP operator in the Microsoft Macro Assembler (MASM),
you must place a whitespace character before the DUP operator if using
the "?" operator. If no whitespace is present, no error message is
produced by the assembler, and incorrect code will be generated. The
assembler will generate one data item for the specified type,
initialized to the value of the repeat size for the DUP operator.
RESOLUTION
To work around the problem, place a space between the repeat size and
the DUP operator. Initializing the variable will cause a syntax error
to be generated.
STATUS
Microsoft has confirmed this to be a problem in MASM version 6.0,
6.0a, and 6.0b. This problem was corrected in MASM for MS-DOS version
6.1.
Modification Type: | Major | Last Reviewed: | 10/29/2003 |
---|
Keywords: | kbfix KB77078 |
---|
|