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
This commit is contained in:
bak@chromium.org 2009-03-09 14:41:40 +00:00
parent e2028632eb
commit eb816ae54a

View File

@ -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;