Reviewers: Kasper Lund, Description: Fixed the disassembler to cope with cmpb.
Please review this at http://codereview.chromium.org/40296 SVN Base: http://v8.googlecode.com/svn/branches/bleeding_edge/ Affected files: M src/disasm-ia32.cc Index: src/disasm-ia32.cc =================================================================== --- src/disasm-ia32.cc (revision 1451) +++ src/disasm-ia32.cc (working copy) @@ -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 -~----------~----~----~----~------~----~------~--~---
