SharpDisasm/Udis86/udis86.cs
/// <summary>
/// Returns true if the given operand is of a segment register type.
/// </summary>
/// <param name="opr"></param>
/// <returns></returns>
Returns true if the given operand is of a segment register type.
Returns true if the given operand is of a segment register type .
public static bool
        ud_opr_is_sreg(ref ud_operand opr)
        {
            return opr.type == ud_type.UD_OP_REG &&
                   opr.@base >= ud_type.UD_R_ES &&
                   opr.@base <= ud_type.UD_R_GS;
        }
public static bool ud_opr_is_sreg ( ref ud_operand opr ) { return opr . type == ud_type . UD_OP_REG && opr . @base >= ud_type . UD_R_ES && opr . @base <= ud_type . UD_R_GS ; }
Returns true if the given operand is of a segment register type.
Returns true if the given operand is of a segment register type .
None
ud_operand
ref
opr
None