FIX: DUP Behavior Different with Span-Dependent Value (94587)
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 Q94587 SYMPTOMS
In Microsoft Macro Assembler (MASM) versions 6.0, 6.0a, and 6.0b, if the
size of a DUP directive depends on the difference between the values of
two labels (a span-dependent value), the assembled code differs from that
produced by previous MASM versions.
CAUSE
The size of the DUP depends on label values that are not yet determined in
the first assembly pass.
RESOLUTION
Modify the code to remove span-dependent values in a DUP directive in code
assembled with MASM versions 6.0, 6.0a, or 6.0b.
STATUS
Microsoft has confirmed this to be a problem in MASM versions 6.0, 6.0a,
and 6.0b for MS-DOS and OS/2. This problem was corrected in MASM version
6.1 for MS-DOS.
Modification Type: | Major | Last Reviewed: | 10/16/2003 |
---|
Keywords: | kbfix KB94587 |
---|
|