Home | History | Annotate | Download | only in qemu

Lines Matching refs:disp

170 static void print_operand_value (char *buf, size_t bufsize, int hex, bfd_vma disp);
4712 print_operand_value (char *buf, size_t bufsize, int hex, bfd_vma disp)
4722 snprintf_vma (tmp, sizeof(tmp), disp);
4728 bfd_signed_vma v = disp;
4734 v = -disp;
4762 snprintf (buf, bufsize, "0x%x", (unsigned int) disp);
4764 snprintf (buf, bufsize, "%d", (int) disp);
4768 /* Put DISP in BUF as signed hex number. */
4771 print_displacement (char *buf, bfd_vma disp)
4773 bfd_signed_vma val = disp;
4780 val = -disp;
4888 bfd_vma disp;
4957 disp = 0;
5000 disp = get32s ();
5005 disp = *codep++;
5006 if ((disp & 0x80) != 0)
5007 disp -= 0x100;
5010 disp = get32s ();
5020 print_displacement (scratchbuf, disp);
5022 print_operand_value (scratchbuf, sizeof(scratchbuf), 1, disp);
5026 set_op (disp, 1);
5036 set_op (disp, 1);
5064 && (disp || modrm.mod != 0 || (base & 7) == 5))
5066 if ((bfd_signed_vma) disp >= 0)
5075 disp = - (bfd_signed_vma) disp;
5078 print_displacement (scratchbuf, disp);
5097 print_operand_value (scratchbuf, sizeof(scratchbuf), 1, disp);
5109 disp = get16 ();
5110 if ((disp & 0x8000) != 0)
5111 disp -= 0x10000;
5116 disp = *codep++;
5117 if ((disp & 0x80) != 0)
5118 disp -= 0x100;
5121 disp = get16 ();
5122 if ((disp & 0x8000) != 0)
5123 disp -= 0x10000;
5130 print_displacement (scratchbuf, disp);
5140 && (disp || modrm.mod != 0 || modrm.rm == 6))
5142 if ((bfd_signed_vma) disp >= 0)
5151 disp = - (bfd_signed_vma) disp;
5154 print_displacement (scratchbuf, disp);
5172 disp & 0xffff);
5574 bfd_vma disp;
5582 disp = *codep++;
5583 if ((disp & 0x80) != 0)
5584 disp -= 0x100;
5588 disp = get32s ();
5591 disp = get16 ();
5592 if ((disp & 0x8000) != 0)
5593 disp -= 0x10000;
5609 disp = ((start_pc + codep - start_codep + disp) & mask) | segment;
5610 set_op (disp, 0);
5611 print_operand_value (scratchbuf, sizeof(scratchbuf), 1, disp);