Commit eb816ae5 authored by bak@chromium.org's avatar bak@chromium.org

Fixed the disassembler to cope with cmpb.

Review URL: http://codereview.chromium.org/40296

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@1455 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent e2028632
......@@ -922,6 +922,16 @@ int DisassemblerIA32::InstructionDecode(v8::internal::Vector<char> out_buffer,
}
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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment