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:
parent
e2028632eb
commit
eb816ae54a
@ -922,6 +922,16 @@ int DisassemblerIA32::InstructionDecode(v8::internal::Vector<char> out_buffer,
|
|||||||
}
|
}
|
||||||
break;
|
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 0x88: // 8bit, fall through
|
||||||
case 0x89: // 32bit
|
case 0x89: // 32bit
|
||||||
{ bool is_byte = *data == 0x88;
|
{ bool is_byte = *data == 0x88;
|
||||||
|
Loading…
Reference in New Issue
Block a user