Fixed register used in asm.

This commit is contained in:
normmatt234 2013-04-07 05:47:26 +00:00
parent 90fa689737
commit e4dde67e52
1 changed files with 1 additions and 1 deletions

View File

@ -359,7 +359,7 @@ static void count(u32 opcode, int cond_res)
EMIT2(cmp, KONST(0x0F), eax) \ EMIT2(cmp, KONST(0x0F), eax) \
EMIT2(mov, REGREF2(eax,4), eax) \ EMIT2(mov, REGREF2(eax,4), eax) \
EMIT1(jne, LABELREF(3,f)) \ EMIT1(jne, LABELREF(3,f)) \
EMIT2(add, KONST(4), ax) \ EMIT2(add, KONST(4), eax) \
LABEL(3) \ LABEL(3) \
EMIT2(movzx, ch, ecx) \ EMIT2(movzx, ch, ecx) \
EMIT2(and, KONST(0x0F), ecx) \ EMIT2(and, KONST(0x0F), ecx) \