Index: src/x64/disasm-x64.cc |
=================================================================== |
--- src/x64/disasm-x64.cc (revision 2533) |
+++ src/x64/disasm-x64.cc (working copy) |
@@ -687,7 +687,7 @@ |
byte modrm = *(data + 1); |
int mod, regop, rm; |
get_modrm(modrm, &mod, ®op, &rm); |
- ASSERT(regop < 8); |
+ regop &= 0x7; // The REX.R bit does not affect the operation. |
int imm8 = -1; |
int num_bytes = 2; |
if (mod != 3) { |