Beispiel #1
0
 public LessThanInstruction(InstructionCode instructionCode, int instructionPointer, int relativeBase)
 {
     _instructionPointer = instructionPointer;
     _first  = new RetrieveParameter(instructionCode.FirstParameterMode, instructionPointer + 1, relativeBase);
     _second = new RetrieveParameter(instructionCode.SecondParameterMode, instructionPointer + 2, relativeBase);
     _third  = new StoreParameter(instructionCode.ThirdParameterMode, instructionPointer + 3, relativeBase);
 }
Beispiel #2
0
 public Float4Parameter(int index, string handle, RetrieveParameter <Vector4> method)
     : base(index, handle)
 {
     Method = method;
 }
Beispiel #3
0
 public JumpIfFalseInstruction(InstructionCode instructionCode, int instructionPointer, int relativeBase)
 {
     _instructionPointer = instructionPointer;
     _first  = new RetrieveParameter(instructionCode.FirstParameterMode, instructionPointer + 1, relativeBase);
     _second = new RetrieveParameter(instructionCode.SecondParameterMode, instructionPointer + 2, relativeBase);
 }
Beispiel #4
0
 public Float2ArrayParameter(int index, int length, string handle, RetrieveParameter <Vector2[]> method) : base(index, length, handle, method)
 {
 }
Beispiel #5
0
 public OutputInstruction(InstructionCode instructionCode, int instructionPointer, int relativeBase)
 {
     _instructionPointer = instructionPointer;
     _first = new RetrieveParameter(instructionCode.FirstParameterMode, instructionPointer + 1, relativeBase);
 }
Beispiel #6
0
 public MatrixParameter(int index, string handle, RetrieveParameter <Matrix> method)
     : base(index, handle)
 {
     Method = method;
 }
Beispiel #7
0
 public FloatParameter(int index, string handle, RetrieveParameter <float> method)
     : base(index, handle)
 {
     Method = method;
 }
Beispiel #8
0
 protected FloatArrayParameterBase(int index, int length, string handle, RetrieveParameter <T[]> method) : base(index, handle)
 {
     Contract.Requires <ArgumentException>(length > 0, "length");
     this.length = length;
     Method      = method;
 }