Index: src/ia32/disasm-ia32.cc |
=================================================================== |
--- src/ia32/disasm-ia32.cc (revision 5514) |
+++ src/ia32/disasm-ia32.cc (working copy) |
@@ -1194,12 +1194,12 @@ |
{ data++; |
int mod, regop, rm; |
get_modrm(*data, &mod, ®op, &rm); |
- if (mod == 3 && regop == ecx) { |
- AppendToBuffer("dec_b %s", NameOfCPURegister(rm)); |
+ if (regop == ecx) { |
+ AppendToBuffer("dec_b "); |
+ data += PrintRightOperand(data); |
antonm
2010/09/23 19:23:09
shouldn't that be PrintRightByteOperand?
Vladislav Kaznacheev
2010/09/23 19:29:24
PrintRightByteOperand would print something like d
|
} else { |
UnimplementedInstruction(); |
} |
- data++; |
} |
break; |