FreeBSD/contrib/binutils/gas/config/tc-i386.c
/* Return the size of the displacement operand N.  */
Return the size of the displacement operand N.
Return the size of the displacement operand N .
static int
disp_size (unsigned int n)
{
  int size = 4;
  if (i.types[n] & (Disp8 | Disp16 | Disp64))
    {
      size = 2;
      if (i.types[n] & Disp8)
	size = 1;
      if (i.types[n] & Disp64)
	size = 8;
    }
  return size;
}
static int disp_size ( unsigned int n ) { int size = 4 ; if ( i . types [ n ] & ( Disp8 | Disp16 | Disp64 ) ) { size = 2 ; if ( i . types [ n ] & Disp8 ) size = 1 ; if ( i . types [ n ] & Disp64 ) size = 8 ; } return size ; }
Return the size of the displacement operand N.
Return the size of the displacement operand N .