示例#1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="X86Instruction"/> class.
 /// </summary>
 /// <param name="opcode">The opcode of this instruction.</param>
 /// <param name="operands">The operands to the instruction.</param>
 public X86Instruction(X86Opcode opcode, IList <Operand> operands)
 {
     Opcode   = opcode;
     Operands = new ReadOnlyCollection <Operand>(operands);
 }
示例#2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="X86Instruction"/> class.
 /// </summary>
 /// <param name="opcode">The opcode of this instruction.</param>
 /// <param name="operands">The operands to the instruction.</param>
 public X86Instruction(X86Opcode opcode, params Operand[] operands)
     : this(opcode, (IList <Operand>)operands)
 {
 }