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); }
public Float4Parameter(int index, string handle, RetrieveParameter <Vector4> method) : base(index, handle) { Method = method; }
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); }
public Float2ArrayParameter(int index, int length, string handle, RetrieveParameter <Vector2[]> method) : base(index, length, handle, method) { }
public OutputInstruction(InstructionCode instructionCode, int instructionPointer, int relativeBase) { _instructionPointer = instructionPointer; _first = new RetrieveParameter(instructionCode.FirstParameterMode, instructionPointer + 1, relativeBase); }
public MatrixParameter(int index, string handle, RetrieveParameter <Matrix> method) : base(index, handle) { Method = method; }
public FloatParameter(int index, string handle, RetrieveParameter <float> method) : base(index, handle) { Method = method; }
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; }