SharpDisasm/Udis86/udis86.cs
/// <summary>
/// Return the operand struct representing the nth operand of
/// the currently disassembled instruction. Returns NULL if
/// there's no such operand.
/// </summary>
/// <param name="u"></param>
/// <param name="n"></param>
/// <param name="op"></param>
Return the operand struct representing the nth operand of
the currently disassembled instruction. Returns NULL if
there's no such operand.
Return the operand struct representing the nth operand of the currently disassembled instruction . Returns NULL if there ' s no such operand .
public static void
        ud_insn_opr(ref ud u, int n, out ud_operand? op)
        {
            if (n > 3 || u.operand[n].type == ud_type.UD_NONE)
            {
                op = null;
            }
            else
            {
                op = u.operand[n];
            }
        }
public static void ud_insn_opr ( ref ud u , int n , out ud_operand ? op ) { if ( n > 3 || u . operand [ n ] . type == ud_type . UD_NONE ) { op = null ; } else { op = u . operand [ n ] ; } }
Return the operand struct representing the nth operand of
the currently disassembled instruction.
Return the operand struct representing the nth operand of the currently disassembled instruction .
ud
ref
n
int
None
ud_operand?
out
u
None
op
None