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

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

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