Example #1
0
        public Instruction(Specification.Op opcode, uint id = InvalidId, Instruction resultType = null)
        {
            Opcode      = opcode;
            Id          = id;
            _resultType = resultType;

            _operands = new List <Operand>();
        }
Example #2
0
        public void Set(Specification.Op opcode, uint id = InvalidId, Instruction resultType = null)
        {
            Opcode      = opcode;
            Id          = id;
            _resultType = resultType;

            _operands = new InstructionOperands();
        }