46 using namespace X86ISA;
50 assert(machInst.
modRM.mod != 3);
55 base = machInst.
sib.base | (machInst.
rex.b << 3);
58 if (machInst.
sib.base == INTREG_RBP && machInst.
modRM.mod == 0)
61 if (
index == INTREG_RSP)
65 unsigned rm = machInst.
modRM.rm;
73 index = (rm % 2) ? INTREG_RDI : INTREG_RSI;
94 if (machInst.
modRM.mod == 0 && machInst.
modRM.rm == 5) {
107 int segFromInst = machInst.
legacy.seg;
119 int segFromInst = machInst.
legacy.seg;
LegacyPrefixVector legacy
void doModRM(const ExtMachInst &machInst)
void setSeg(const ExtMachInst &machInst)