The information in this article applies to:
SYMPTOMSIn Microsoft Macro Assembler (MASM) versions 6.0a and 6.0b, if the expression for an ORG directive is calculated from a label, the ORG directive will not give the correct results. The origin set by the ORG directive will be off by the value of the current location counter ($) prior to the ORG directive. RESOLUTION
The sample code below demonstrates a macro that can be used to correct
the behavior of ORG. This macro should be used only if the expression
being supplied to ORG was calculated using a label. If the expression
being supplied to ORG was not calculated using any labels, the ORG
directive should work correctly.
STATUSMicrosoft has confirmed this to be a problem in MASM versions 6.0a, and 6.0b. This problem was corrected in MASM for MS-DOS version 6.1. MORE INFORMATIONSample Code
Additional query words: 6.00a 6.00b buglist6.00a buglist6.00b fixlist6.10
Keywords : |
Last Reviewed: January 4, 2000 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |