public OpcodeInstruction(int opcodeNumber, int valueA, int valueB, int outputToRegister) { OpcodeNumber = opcodeNumber; Instruction = new RegisterInstruction(valueA, valueB, outputToRegister); }
public OpcodeInstruction(int pointer, Opcode opcode, RegisterInstruction instruction) { Pointer = pointer; Opcode = opcode; Instruction = instruction; }