Correct compilation of JNE instruction

This commit is contained in:
Simon Robertshaw 2013-01-31 20:58:48 +00:00
parent 8fb020c59e
commit 15503177a8

View File

@ -230,7 +230,7 @@ namespace pim
emitPlaceholder(argument.Integer);
break;
case Opcode::JumpNotEqual:
emit("83 C6 04"); //add esi, 8
emit("83 C6 08"); //add esi, 8
emit("8B 46 FC"); //mov eax, [esi-4]
emit("3B 46 F8"); //cmp eax, [esi-8]
emit("74 05"); //je 8