48 assert(machInst.
modRM.mod != 3);
53 base = machInst.
sib.base | (machInst.
rex.b << 3);
56 if (machInst.
sib.base == INTREG_RBP && machInst.
modRM.mod == 0)
59 if (
index == INTREG_RSP)
63 unsigned rm = machInst.
modRM.rm;
71 index = (rm % 2) ? INTREG_RDI : INTREG_RSI;
92 if (machInst.
modRM.mod == 0 && machInst.
modRM.rm == 5) {
105 int segFromInst = machInst.
legacy.seg;
117 int segFromInst = machInst.
legacy.seg;
LegacyPrefixVector legacy
void doModRM(const ExtMachInst &machInst)
void setSeg(const ExtMachInst &machInst)
This is exposed globally, independent of the ISA.