Lines Matching refs:index
344 static void get_sib(byte data, int* scale, int* index, int* base) {
346 *index = (data >> 3) & 7;
403 int scale, index, base;
404 get_sib(sib, &scale, &index, &base);
405 if (index == esp && base == esp && scale == 0 /*times_1*/) {
410 AppendToBuffer("[%s*%d%s0x%x]", (this->*register_name)(index),
414 } else if (index != esp && base != ebp) {
415 // [base+index*scale]
417 (this->*register_name)(index), 1 << scale);
430 int scale, index, base;
431 get_sib(sib, &scale, &index, &base);
433 if (index == base && index == rm /*esp*/ && scale == 0 /*times_1*/) {
438 (this->*register_name)(index), 1 << scale,
1884 // Not every instruction use this, and it is safe to index data+2 as all