public x86Operator(Intelx86Opcode opcode, OperatorSize size, Intelx86Register segment) { int count = (opcode < Intelx86Opcode.Push ? 0 : (opcode < Intelx86Opcode.Add ? 1 : (opcode < Intelx86Opcode.Outbound ? 2 : 3))); this.OperatorCode = opcode; this.OperatorName = opcode.ToString(); this.Operands = new x86Operand[count]; this.DataSize = size; this.Segment = segment; }
public x86Operator(Intelx86Opcode opcode, OperatorSize size) : this(opcode, size, Intelx86Register.None) { }