The information in this article applies to:
SYMPTOMSIn 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. CAUSEThe size of the DUP depends on label values that are not yet determined in the first assembly pass. RESOLUTIONModify the code to remove span-dependent values in a DUP directive in code assembled with MASM versions 6.0, 6.0a, or 6.0b. STATUSMicrosoft 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. MORE INFORMATION
This problem usually occurs when a forward reference occurs between the two
labels. The assembler adds padding bytes for the forward reference and
eliminates these bytes during a subsequent assembly pass. When this occurs,
the second label has a larger value during the first assembly pass than it
does in subsequent passes.
Sample Code
Additional query words: 6.00 6.00a 6.00b buglist6.00 buglist6.00a buglist6.00b fixlist6.10
Keywords : |
Last Reviewed: January 6, 2000 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |