Author: [email protected]
Date: Mon Mar 9 07:41:40 2009
New Revision: 1455
Modified:
branches/bleeding_edge/src/disasm-ia32.cc
Log:
Fixed the disassembler to cope with cmpb.
Review URL: http://codereview.chromium.org/40296
Modified: branches/bleeding_edge/src/disasm-ia32.cc
==============================================================================
--- branches/bleeding_edge/src/disasm-ia32.cc (original)
+++ branches/bleeding_edge/src/disasm-ia32.cc Mon Mar 9 07:41:40 2009
@@ -922,6 +922,16 @@
}
break;
+ case 0x80:
+ { data++;
+ AppendToBuffer("%s ", "cmpb");
+ data += PrintRightOperand(data);
+ int32_t imm = *data;
+ AppendToBuffer(",0x%x", imm);
+ data++;
+ }
+ break;
+
case 0x88: // 8bit, fall through
case 0x89: // 32bit
{ bool is_byte = *data == 0x88;
--~--~---------~--~----~------------~-------~--~----~
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
-~----------~----~----~----~------~----~------~--~---