The information in this article applies to:
SYMPTOMSAssembling a line of code that uses the REP instruction prefix with one of the string-compare instructions, such as
produces the following error message:
The same line of code assembles without error under MASM version 5.1. CAUSE
With MASM version 5.1, as well as when using MASM version 6.x with OPTION
M510, the REP CMPSB instruction is encoded as a REPE CMPSB.
RESOLUTIONAssemble using the OPTION M510 directive, or use the REPE instruction prefix. MORE INFORMATIONThe following are legal forms of the string-compare instruction: CMPSB ; compare string byte Additional query words: rep 6.00 6.00a 6.00b 6.10 6.10a
Keywords : |
Last Reviewed: January 4, 2000 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |