The information in this article applies to:
SYMPTOMSUsing the "SEG" directive in conjunction with forward reference to a procedure or a segment name will produce the error
CAUSEThe assembler incorrectly places a "NOP" instruction in the code generated during Pass 1. This NOP is not generated in Pass 2, so the assembler generates a phase error. This phase error will most often happen on the next instruction that is associated with a fixup. STATUSMicrosoft has confirmed this to be a problem in MASM versions 5.1 and 5.10a. This problem was fixed in MASM version 6.0. RESOLUTIONTo work around this problem, introduce a NOP that is seen by the assembler only during the second pass. MORE INFORMATIONThe following code produces the errors. The errors do not occur when the ax register is used. They occur when the bx, cx, and dx registers are used. The workaround is shown in commented out lines. Sample Code:
Additional query words: 5.10 5.10a buglist5.10 buglist5.10a fixlist6.00
Keywords : |
Last Reviewed: January 7, 2000 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |