Lines Matching refs:data

373   static void get_modrm(byte data, int* mod, int* regop, int* rm) {  in get_modrm()  argument
374 *mod = (data >> 6) & 3; in get_modrm()
375 *regop = (data & 0x38) >> 3; in get_modrm()
376 *rm = data & 7; in get_modrm()
380 static void get_sib(byte data, int* scale, int* index, int* base) { in get_sib() argument
381 *scale = (data >> 6) & 3; in get_sib()
382 *index = (data >> 3) & 7; in get_sib()
383 *base = data & 7; in get_sib()
392 int PrintOperands(const char* mnem, OperandOrder op_order, byte* data);
393 int PrintImmediateOp(byte* data);
394 int F7Instruction(byte* data);
395 int D1D3C1Instruction(byte* data);
396 int JumpShort(byte* data);
397 int JumpConditional(byte* data, const char* comment);
398 int JumpConditionalShort(byte* data, const char* comment);
399 int SetCC(byte* data);
400 int CMov(byte* data);
401 int FPUInstruction(byte* data);
404 int AVXInstruction(byte* data);
536 byte* data) { in PrintOperands() argument
537 byte modrm = *data; in PrintOperands()
544 advance = PrintRightOperand(data); in PrintOperands()
549 advance = PrintRightOperand(data); in PrintOperands()
563 int DisassemblerIA32::PrintImmediateOp(byte* data) { in PrintImmediateOp() argument
564 bool sign_extension_bit = (*data & 0x02) != 0; in PrintImmediateOp()
565 byte modrm = *(data+1); in PrintImmediateOp()
580 int count = PrintRightOperand(data+1); in PrintImmediateOp()
582 AppendToBuffer(",0x%x", *(data + 1 + count)); in PrintImmediateOp()
585 AppendToBuffer(",0x%x", *reinterpret_cast<int32_t*>(data + 1 + count)); in PrintImmediateOp()
592 int DisassemblerIA32::F7Instruction(byte* data) { in F7Instruction() argument
593 DCHECK_EQ(0xF7, *data); in F7Instruction()
594 byte modrm = *++data; in F7Instruction()
624 int count = PrintRightOperand(data); in F7Instruction()
626 AppendToBuffer(",0x%x", *reinterpret_cast<int32_t*>(data + count)); in F7Instruction()
633 int DisassemblerIA32::D1D3C1Instruction(byte* data) { in D1D3C1Instruction() argument
634 byte op = *data; in D1D3C1Instruction()
636 byte modrm = *++data; in D1D3C1Instruction()
667 int count = PrintRightOperand(data); in D1D3C1Instruction()
671 imm8 = *(data + 1); in D1D3C1Instruction()
686 int DisassemblerIA32::JumpShort(byte* data) { in JumpShort() argument
687 DCHECK_EQ(0xEB, *data); in JumpShort()
688 byte b = *(data+1); in JumpShort()
689 byte* dest = data + static_cast<int8_t>(b) + 2; in JumpShort()
696 int DisassemblerIA32::JumpConditional(byte* data, const char* comment) { in JumpConditional() argument
697 DCHECK_EQ(0x0F, *data); in JumpConditional()
698 byte cond = *(data+1) & 0x0F; in JumpConditional()
699 byte* dest = data + *reinterpret_cast<int32_t*>(data+2) + 6; in JumpConditional()
710 int DisassemblerIA32::JumpConditionalShort(byte* data, const char* comment) { in JumpConditionalShort() argument
711 byte cond = *data & 0x0F; in JumpConditionalShort()
712 byte b = *(data+1); in JumpConditionalShort()
713 byte* dest = data + static_cast<int8_t>(b) + 2; in JumpConditionalShort()
724 int DisassemblerIA32::SetCC(byte* data) { in SetCC() argument
725 DCHECK_EQ(0x0F, *data); in SetCC()
726 byte cond = *(data+1) & 0x0F; in SetCC()
729 PrintRightByteOperand(data+2); in SetCC()
735 int DisassemblerIA32::CMov(byte* data) { in CMov() argument
736 DCHECK_EQ(0x0F, *data); in CMov()
737 byte cond = *(data + 1) & 0x0F; in CMov()
739 int op_size = PrintOperands(mnem, REG_OPER_OP_ORDER, data + 2); in CMov()
744 int DisassemblerIA32::AVXInstruction(byte* data) { in AVXInstruction() argument
745 byte opcode = *data; in AVXInstruction()
746 byte* current = data + 1; in AVXInstruction()
1024 return static_cast<int>(current - data); in AVXInstruction()
1029 int DisassemblerIA32::FPUInstruction(byte* data) { in FPUInstruction() argument
1030 byte escape_opcode = *data; in FPUInstruction()
1032 byte modrm_byte = *(data+1); in FPUInstruction()
1037 return MemoryFPUInstruction(escape_opcode, modrm_byte, data+1); in FPUInstruction()
1246 byte* data = instr; in InstructionDecode() local
1250 if (*data == 0x3E /*ds*/) { in InstructionDecode()
1252 data++; in InstructionDecode()
1253 } else if (*data == 0x2E /*cs*/) { in InstructionDecode()
1255 data++; in InstructionDecode()
1256 } else if (*data == 0xC4 && *(data + 1) >= 0xc0) { in InstructionDecode()
1257 vex_byte0_ = *data; in InstructionDecode()
1258 vex_byte1_ = *(data + 1); in InstructionDecode()
1259 vex_byte2_ = *(data + 2); in InstructionDecode()
1260 data += 3; in InstructionDecode()
1261 } else if (*data == 0xC5 && *(data + 1) >= 0xc0) { in InstructionDecode()
1262 vex_byte0_ = *data; in InstructionDecode()
1263 vex_byte1_ = *(data + 1); in InstructionDecode()
1264 data += 2; in InstructionDecode()
1271 data += AVXInstruction(data); in InstructionDecode()
1273 const InstructionDesc& idesc = instruction_table_->Get(*data); in InstructionDecode()
1277 data++; in InstructionDecode()
1281 data++; in InstructionDecode()
1282 data += PrintOperands(idesc.mnem, idesc.op_order_, data); in InstructionDecode()
1286 data += JumpConditionalShort(data, branch_hint); in InstructionDecode()
1290 AppendToBuffer("%s %s", idesc.mnem, NameOfCPURegister(*data & 0x07)); in InstructionDecode()
1291 data++; in InstructionDecode()
1296 reinterpret_cast<byte*>(*reinterpret_cast<int32_t*>(data + 1)); in InstructionDecode()
1297 AppendToBuffer("mov %s,%s", NameOfCPURegister(*data & 0x07), in InstructionDecode()
1299 data += 5; in InstructionDecode()
1304 byte* addr = data + *reinterpret_cast<int32_t*>(data + 1) + 5; in InstructionDecode()
1306 data += 5; in InstructionDecode()
1312 reinterpret_cast<byte*>(*reinterpret_cast<int32_t*>(data + 1)); in InstructionDecode()
1314 data += 5; in InstructionDecode()
1319 AppendToBuffer("%s al,0x%x", idesc.mnem, data[1]); in InstructionDecode()
1320 data += 2; in InstructionDecode()
1334 switch (*data) { in InstructionDecode()
1336 AppendToBuffer("ret 0x%x", *reinterpret_cast<uint16_t*>(data+1)); in InstructionDecode()
1337 data += 3; in InstructionDecode()
1341 data++; in InstructionDecode()
1342 data += PrintOperands("imul", REG_OPER_OP_ORDER, data); in InstructionDecode()
1343 AppendToBuffer(",%d", *data); in InstructionDecode()
1344 data++; in InstructionDecode()
1348 data++; in InstructionDecode()
1349 data += PrintOperands("imul", REG_OPER_OP_ORDER, data); in InstructionDecode()
1350 AppendToBuffer(",%d", *reinterpret_cast<int32_t*>(data)); in InstructionDecode()
1351 data += 4; in InstructionDecode()
1356 { data++; in InstructionDecode()
1358 get_modrm(*data, &mod, &regop, &rm); in InstructionDecode()
1361 data += PrintRightByteOperand(data); in InstructionDecode()
1362 int32_t imm = *data; in InstructionDecode()
1364 data++; in InstructionDecode()
1373 data += PrintImmediateOp(data); in InstructionDecode()
1377 { byte f0byte = data[1]; in InstructionDecode()
1380 data += 2; in InstructionDecode()
1382 get_modrm(*data, &mod, &regop, &rm); in InstructionDecode()
1385 data += PrintRightOperand(data); in InstructionDecode()
1386 } else if (f0byte == 0x1F && data[2] == 0) { in InstructionDecode()
1388 data += 3; in InstructionDecode()
1389 } else if (f0byte == 0x1F && data[2] == 0x40 && data[3] == 0) { in InstructionDecode()
1391 data += 4; in InstructionDecode()
1392 } else if (f0byte == 0x1F && data[2] == 0x44 && data[3] == 0 && in InstructionDecode()
1393 data[4] == 0) { in InstructionDecode()
1395 data += 5; in InstructionDecode()
1396 } else if (f0byte == 0x1F && data[2] == 0x80 && data[3] == 0 && in InstructionDecode()
1397 data[4] == 0 && data[5] == 0 && data[6] == 0) { in InstructionDecode()
1399 data += 7; in InstructionDecode()
1400 } else if (f0byte == 0x1F && data[2] == 0x84 && data[3] == 0 && in InstructionDecode()
1401 data[4] == 0 && data[5] == 0 && data[6] == 0 && in InstructionDecode()
1402 data[7] == 0) { in InstructionDecode()
1404 data += 8; in InstructionDecode()
1407 data += 2; in InstructionDecode()
1409 data += 2; in InstructionDecode()
1411 get_modrm(*data, &mod, &regop, &rm); in InstructionDecode()
1415 data++; in InstructionDecode()
1417 data += 2; in InstructionDecode()
1419 get_modrm(*data, &mod, &regop, &rm); in InstructionDecode()
1421 data += PrintRightXMMOperand(data); in InstructionDecode()
1439 data += 2; in InstructionDecode()
1441 get_modrm(*data, &mod, &regop, &rm); in InstructionDecode()
1445 data += PrintRightXMMOperand(data); in InstructionDecode()
1447 data += 2; in InstructionDecode()
1449 get_modrm(*data, &mod, &regop, &rm); in InstructionDecode()
1453 data++; in InstructionDecode()
1456 data += 2; in InstructionDecode()
1458 get_modrm(*data, &mod, &regop, &rm); in InstructionDecode()
1459 int8_t imm8 = static_cast<int8_t>(data[1]); in InstructionDecode()
1464 data += 2; in InstructionDecode()
1466 data += JumpConditional(data, branch_hint); in InstructionDecode()
1469 data += 2; in InstructionDecode()
1470 data += PrintOperands(f0mnem, REG_OPER_OP_ORDER, data); in InstructionDecode()
1472 data += SetCC(data); in InstructionDecode()
1474 data += CMov(data); in InstructionDecode()
1477 data += 2; in InstructionDecode()
1480 get_modrm(*data, &mod, &regop, &rm); in InstructionDecode()
1481 data += PrintRightOperand(data); in InstructionDecode()
1488 data += 2; in InstructionDecode()
1490 get_modrm(*data, &mod, &regop, &rm); in InstructionDecode()
1492 data += PrintRightOperand(data); in InstructionDecode()
1494 data += 2; in InstructionDecode()
1496 get_modrm(*data, &mod, &regop, &rm); in InstructionDecode()
1498 data += PrintRightOperand(data); in InstructionDecode()
1506 { data++; in InstructionDecode()
1508 get_modrm(*data, &mod, &regop, &rm); in InstructionDecode()
1511 data += PrintRightOperand(data); in InstructionDecode()
1517 { data++; in InstructionDecode()
1519 get_modrm(*data, &mod, &regop, &rm); in InstructionDecode()
1530 data += PrintRightOperand(data); in InstructionDecode()
1536 { bool is_byte = *data == 0xC6; in InstructionDecode()
1537 data++; in InstructionDecode()
1540 data += PrintRightByteOperand(data); in InstructionDecode()
1541 int32_t imm = *data; in InstructionDecode()
1543 data++; in InstructionDecode()
1546 data += PrintRightOperand(data); in InstructionDecode()
1547 int32_t imm = *reinterpret_cast<int32_t*>(data); in InstructionDecode()
1549 data += 4; in InstructionDecode()
1555 { data++; in InstructionDecode()
1557 get_modrm(*data, &mod, &regop, &rm); in InstructionDecode()
1565 data += PrintRightByteOperand(data); in InstructionDecode()
1566 int32_t imm = *data; in InstructionDecode()
1568 data++; in InstructionDecode()
1574 { bool is_byte = *data == 0x88; in InstructionDecode()
1576 data++; in InstructionDecode()
1577 get_modrm(*data, &mod, &regop, &rm); in InstructionDecode()
1580 data += PrintRightByteOperand(data); in InstructionDecode()
1584 data += PrintRightOperand(data); in InstructionDecode()
1591 while (*data == 0x66) data++; in InstructionDecode()
1592 if (*data == 0xf && data[1] == 0x1f) { in InstructionDecode()
1594 } else if (*data == 0x90) { in InstructionDecode()
1596 } else if (*data == 0x8B) { in InstructionDecode()
1597 data++; in InstructionDecode()
1598 data += PrintOperands("mov_w", REG_OPER_OP_ORDER, data); in InstructionDecode()
1599 } else if (*data == 0x89) { in InstructionDecode()
1600 data++; in InstructionDecode()
1602 get_modrm(*data, &mod, &regop, &rm); in InstructionDecode()
1604 data += PrintRightOperand(data); in InstructionDecode()
1606 } else if (*data == 0xC7) { in InstructionDecode()
1607 data++; in InstructionDecode()
1609 data += PrintRightOperand(data); in InstructionDecode()
1610 int imm = *reinterpret_cast<int16_t*>(data); in InstructionDecode()
1612 data += 2; in InstructionDecode()
1613 } else if (*data == 0x0F) { in InstructionDecode()
1614 data++; in InstructionDecode()
1615 if (*data == 0x38) { in InstructionDecode()
1616 data++; in InstructionDecode()
1617 if (*data == 0x17) { in InstructionDecode()
1618 data++; in InstructionDecode()
1620 get_modrm(*data, &mod, &regop, &rm); in InstructionDecode()
1624 data++; in InstructionDecode()
1625 } else if (*data == 0x2A) { in InstructionDecode()
1631 } else if (*data == 0x3A) { in InstructionDecode()
1632 data++; in InstructionDecode()
1633 if (*data == 0x0B) { in InstructionDecode()
1634 data++; in InstructionDecode()
1636 get_modrm(*data, &mod, &regop, &rm); in InstructionDecode()
1637 int8_t imm8 = static_cast<int8_t>(data[1]); in InstructionDecode()
1642 data += 2; in InstructionDecode()
1643 } else if (*data == 0x16) { in InstructionDecode()
1644 data++; in InstructionDecode()
1646 get_modrm(*data, &mod, &rm, &regop); in InstructionDecode()
1647 int8_t imm8 = static_cast<int8_t>(data[1]); in InstructionDecode()
1652 data += 2; in InstructionDecode()
1653 } else if (*data == 0x17) { in InstructionDecode()
1654 data++; in InstructionDecode()
1656 get_modrm(*data, &mod, &regop, &rm); in InstructionDecode()
1657 int8_t imm8 = static_cast<int8_t>(data[1]); in InstructionDecode()
1662 data += 2; in InstructionDecode()
1663 } else if (*data == 0x22) { in InstructionDecode()
1664 data++; in InstructionDecode()
1666 get_modrm(*data, &mod, &regop, &rm); in InstructionDecode()
1667 int8_t imm8 = static_cast<int8_t>(data[1]); in InstructionDecode()
1672 data += 2; in InstructionDecode()
1676 } else if (*data == 0x2E || *data == 0x2F) { in InstructionDecode()
1677 const char* mnem = (*data == 0x2E) ? "ucomisd" : "comisd"; in InstructionDecode()
1678 data++; in InstructionDecode()
1680 get_modrm(*data, &mod, &regop, &rm); in InstructionDecode()
1685 data++; in InstructionDecode()
1688 data += PrintRightOperand(data); in InstructionDecode()
1690 } else if (*data == 0x50) { in InstructionDecode()
1691 data++; in InstructionDecode()
1693 get_modrm(*data, &mod, &regop, &rm); in InstructionDecode()
1697 data++; in InstructionDecode()
1698 } else if (*data == 0x54) { in InstructionDecode()
1699 data++; in InstructionDecode()
1701 get_modrm(*data, &mod, &regop, &rm); in InstructionDecode()
1705 data++; in InstructionDecode()
1706 } else if (*data == 0x56) { in InstructionDecode()
1707 data++; in InstructionDecode()
1709 get_modrm(*data, &mod, &regop, &rm); in InstructionDecode()
1713 data++; in InstructionDecode()
1714 } else if (*data == 0x57) { in InstructionDecode()
1715 data++; in InstructionDecode()
1717 get_modrm(*data, &mod, &regop, &rm); in InstructionDecode()
1721 data++; in InstructionDecode()
1722 } else if (*data == 0x6E) { in InstructionDecode()
1723 data++; in InstructionDecode()
1725 get_modrm(*data, &mod, &regop, &rm); in InstructionDecode()
1727 data += PrintRightOperand(data); in InstructionDecode()
1728 } else if (*data == 0x6F) { in InstructionDecode()
1729 data++; in InstructionDecode()
1731 get_modrm(*data, &mod, &regop, &rm); in InstructionDecode()
1733 data += PrintRightXMMOperand(data); in InstructionDecode()
1734 } else if (*data == 0x70) { in InstructionDecode()
1735 data++; in InstructionDecode()
1737 get_modrm(*data, &mod, &regop, &rm); in InstructionDecode()
1738 int8_t imm8 = static_cast<int8_t>(data[1]); in InstructionDecode()
1743 data += 2; in InstructionDecode()
1744 } else if (*data == 0x62) { in InstructionDecode()
1745 data++; in InstructionDecode()
1747 get_modrm(*data, &mod, &regop, &rm); in InstructionDecode()
1750 data++; in InstructionDecode()
1751 } else if (*data == 0x6A) { in InstructionDecode()
1752 data++; in InstructionDecode()
1754 get_modrm(*data, &mod, &regop, &rm); in InstructionDecode()
1757 data++; in InstructionDecode()
1758 } else if (*data == 0x76) { in InstructionDecode()
1759 data++; in InstructionDecode()
1761 get_modrm(*data, &mod, &regop, &rm); in InstructionDecode()
1765 data++; in InstructionDecode()
1766 } else if (*data == 0x90) { in InstructionDecode()
1767 data++; in InstructionDecode()
1769 } else if (*data == 0xF3) { in InstructionDecode()
1770 data++; in InstructionDecode()
1772 get_modrm(*data, &mod, &regop, &rm); in InstructionDecode()
1776 data++; in InstructionDecode()
1777 } else if (*data == 0x72) { in InstructionDecode()
1778 data++; in InstructionDecode()
1780 get_modrm(*data, &mod, &regop, &rm); in InstructionDecode()
1781 int8_t imm8 = static_cast<int8_t>(data[1]); in InstructionDecode()
1785 data += 2; in InstructionDecode()
1786 } else if (*data == 0x73) { in InstructionDecode()
1787 data++; in InstructionDecode()
1789 get_modrm(*data, &mod, &regop, &rm); in InstructionDecode()
1790 int8_t imm8 = static_cast<int8_t>(data[1]); in InstructionDecode()
1796 data += 2; in InstructionDecode()
1797 } else if (*data == 0xD3) { in InstructionDecode()
1798 data++; in InstructionDecode()
1800 get_modrm(*data, &mod, &regop, &rm); in InstructionDecode()
1804 data++; in InstructionDecode()
1805 } else if (*data == 0x7F) { in InstructionDecode()
1807 data++; in InstructionDecode()
1809 get_modrm(*data, &mod, &regop, &rm); in InstructionDecode()
1810 data += PrintRightXMMOperand(data); in InstructionDecode()
1812 } else if (*data == 0x7E) { in InstructionDecode()
1813 data++; in InstructionDecode()
1815 get_modrm(*data, &mod, &regop, &rm); in InstructionDecode()
1817 data += PrintRightOperand(data); in InstructionDecode()
1819 } else if (*data == 0xDB) { in InstructionDecode()
1820 data++; in InstructionDecode()
1822 get_modrm(*data, &mod, &regop, &rm); in InstructionDecode()
1826 data++; in InstructionDecode()
1827 } else if (*data == 0xE7) { in InstructionDecode()
1828 data++; in InstructionDecode()
1830 get_modrm(*data, &mod, &regop, &rm); in InstructionDecode()
1837 } else if (*data == 0xEF) { in InstructionDecode()
1838 data++; in InstructionDecode()
1840 get_modrm(*data, &mod, &regop, &rm); in InstructionDecode()
1844 data++; in InstructionDecode()
1845 } else if (*data == 0xEB) { in InstructionDecode()
1846 data++; in InstructionDecode()
1848 get_modrm(*data, &mod, &regop, &rm); in InstructionDecode()
1852 data++; in InstructionDecode()
1862 { data++; in InstructionDecode()
1864 get_modrm(*data, &mod, &regop, &rm); in InstructionDecode()
1867 data += PrintRightOperand(data); in InstructionDecode()
1875 AppendToBuffer("push 0x%x", *reinterpret_cast<int32_t*>(data+1)); in InstructionDecode()
1876 data += 5; in InstructionDecode()
1880 AppendToBuffer("push 0x%x", *reinterpret_cast<int8_t*>(data + 1)); in InstructionDecode()
1881 data += 2; in InstructionDecode()
1885 AppendToBuffer("test al,0x%x", *reinterpret_cast<uint8_t*>(data+1)); in InstructionDecode()
1886 data += 2; in InstructionDecode()
1890 AppendToBuffer("test eax,0x%x", *reinterpret_cast<int32_t*>(data+1)); in InstructionDecode()
1891 data += 5; in InstructionDecode()
1897 data += D1D3C1Instruction(data); in InstructionDecode()
1908 data += FPUInstruction(data); in InstructionDecode()
1912 data += JumpShort(data); in InstructionDecode()
1916 if (*(data+1) == 0x0F) { in InstructionDecode()
1917 byte b2 = *(data+2); in InstructionDecode()
1920 data += 3; in InstructionDecode()
1922 get_modrm(*data, &mod, &regop, &rm); in InstructionDecode()
1923 data += PrintRightXMMOperand(data); in InstructionDecode()
1926 data += 3; in InstructionDecode()
1928 get_modrm(*data, &mod, &regop, &rm); in InstructionDecode()
1930 data += PrintRightXMMOperand(data); in InstructionDecode()
1932 data += 3; in InstructionDecode()
1934 get_modrm(*data, &mod, &regop, &rm); in InstructionDecode()
1936 data += PrintRightXMMOperand(data); in InstructionDecode()
1971 data += 3; in InstructionDecode()
1973 get_modrm(*data, &mod, &regop, &rm); in InstructionDecode()
1976 data += PrintRightOperand(data); in InstructionDecode()
1979 data += PrintRightXMMOperand(data); in InstructionDecode()
1993 pseudo_op[data[1]], in InstructionDecode()
1996 data += 2; in InstructionDecode()
1999 data += PrintRightXMMOperand(data); in InstructionDecode()
2008 if (*(data+1) == 0x0F) { in InstructionDecode()
2009 byte b2 = *(data+2); in InstructionDecode()
2012 data += 3; in InstructionDecode()
2014 get_modrm(*data, &mod, &regop, &rm); in InstructionDecode()
2015 data += PrintRightXMMOperand(data); in InstructionDecode()
2018 data += 3; in InstructionDecode()
2020 get_modrm(*data, &mod, &regop, &rm); in InstructionDecode()
2022 data += PrintRightXMMOperand(data); in InstructionDecode()
2024 data += 3; in InstructionDecode()
2026 get_modrm(*data, &mod, &regop, &rm); in InstructionDecode()
2028 data += PrintRightXMMOperand(data); in InstructionDecode()
2030 data += 3; in InstructionDecode()
2032 get_modrm(*data, &mod, &regop, &rm); in InstructionDecode()
2034 data += PrintRightXMMOperand(data); in InstructionDecode()
2037 data += 3; in InstructionDecode()
2039 get_modrm(*data, &mod, &regop, &rm); in InstructionDecode()
2040 data += PrintRightXMMOperand(data); in InstructionDecode()
2043 data += 3; in InstructionDecode()
2045 get_modrm(*data, &mod, &regop, &rm); in InstructionDecode()
2047 data += PrintRightOperand(data); in InstructionDecode()
2049 data += 3; in InstructionDecode()
2051 get_modrm(*data, &mod, &regop, &rm); in InstructionDecode()
2053 data += PrintRightOperand(data); in InstructionDecode()
2055 data += 3; in InstructionDecode()
2057 get_modrm(*data, &mod, &regop, &rm); in InstructionDecode()
2059 data += PrintRightOperand(data); in InstructionDecode()
2094 data += 3; in InstructionDecode()
2096 get_modrm(*data, &mod, &regop, &rm); in InstructionDecode()
2099 data += PrintRightOperand(data); in InstructionDecode()
2102 data += PrintRightXMMOperand(data); in InstructionDecode()
2108 AppendToBuffer("%s %s,%s", pseudo_op[data[1]], in InstructionDecode()
2110 data += 2; in InstructionDecode()
2113 data += PrintRightXMMOperand(data); in InstructionDecode()
2116 } else if (*(data+1) == 0xA5) { in InstructionDecode()
2117 data += 2; in InstructionDecode()
2119 } else if (*(data+1) == 0xAB) { in InstructionDecode()
2120 data += 2; in InstructionDecode()
2128 data += F7Instruction(data); in InstructionDecode()
2140 int instr_len = data - instr; in InstructionDecode()
2142 printf("%02x", *data); in InstructionDecode()
2148 for (byte* bp = instr; bp < data; bp++) { in InstructionDecode()