FIX: Incorrect Code Generated If Operand Is [eax][eax] (78862)
The information in this article applies to:
- Microsoft Macro Assembler (MASM) 6.0
This article was previously published under Q78862 SYMPTOMS
In the Microsoft Macro Assembler (MASM) version 6.0, incorrect code is
generated for instructions, such as the following, using the operand
[eax][eax]:
lea edi, [eax][eax]
mov edi, [eax][eax]
RESOLUTION
A workaround for this problem is to embed the opcode for the
instruction directly in the code. The sample code below demonstrates
this method.
STATUS
Microsoft has confirmed this to be a problem in MASM version 6.0. This
problem was corrected in MASM version 6.0a.
Modification Type: | Minor | Last Reviewed: | 10/29/2003 |
---|
Keywords: | kbfix KB78862 |
---|
|