fix bad machine code generated for mov2

This commit is contained in:
Joel Dice 2008-01-07 18:33:49 -07:00
parent 6a314ee65d
commit ef06be3904

View File

@ -1966,8 +1966,7 @@ MemoryOperand::accept(Context* c, Operation op, RegisterOperand* operand)
break; break;
case mov2: case mov2:
c->code.append(0x66); encode2(c, 0x6689, operand->value(c), this, false);
encode(c, 0x89, operand->value(c), this, false);
break; break;
case mov4To8: case mov4To8: