Exemple #1
0
        public RawInstruction(Opcode opcode, NumericalOperand operand)
        {
            Contract.Requires(opcode != null && opcode != Opcode.Switch);

            this.opcodeOrJumpTable = opcode;
            this.numericalOperand  = operand;
        }
Exemple #2
0
        public RawInstruction(Opcode opcode)
        {
            Contract.Requires(opcode != null && opcode.OperandKind == OperandKind.None);

            this.opcodeOrJumpTable = opcode;
            this.numericalOperand  = default(NumericalOperand);
        }
Exemple #3
0
 private RawInstruction(int[] switchJumpTable)
 {
     this.opcodeOrJumpTable = switchJumpTable;
     this.numericalOperand  = default(NumericalOperand);
 }