Lines Matching defs:base
357 // Actual number of base register given the low bits and the rex.b state.
406 int* base) {
409 *base = (data & 7) | (rex_b() ? 8 : 0);
473 int scale, index, base;
474 get_sib(sib, &scale, &index, &base);
475 if (index == 4 && (base & 7) == 4 && scale == 0 /*times_1*/) {
477 // rsp and r12 base.
478 AppendToBuffer("[%s]", NameOfCPURegister(base));
480 } else if (base == 5) {
481 // base == rbp means no base register (when mod == 0).
487 } else if (index != 4 && base != 5) {
488 // [base+index*scale]
490 NameOfCPURegister(base),
507 int scale, index, base;
508 get_sib(sib, &scale, &index, &base);
511 if (index == 4 && (base & 7) == 4 && scale == 0 /*times_1*/) {
513 AppendToBuffer("[%s-0x%x]", NameOfCPURegister(base), -disp);
515 AppendToBuffer("[%s+0x%x]", NameOfCPURegister(base), disp);
520 NameOfCPURegister(base),
526 NameOfCPURegister(base),