From ddada5551d37377d8422d4e786f62d634334a10e Mon Sep 17 00:00:00 2001 From: Joel Dice Date: Sat, 19 Apr 2008 20:04:15 -0600 Subject: [PATCH] fix argument order bug in moveZRR --- src/x86.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/x86.cpp b/src/x86.cpp index 637830678c..010f0dc132 100644 --- a/src/x86.cpp +++ b/src/x86.cpp @@ -741,7 +741,7 @@ moveZRR(Context* c, unsigned size, Assembler::Register* a, rex(c); c->code.append(0x0f); c->code.append(0xb7); - c->code.append(0xc0 | (a->low << 3) | b->low); + c->code.append(0xc0 | (b->low << 3) | a->low); break; default: abort(c); // todo