public Instruction(eOpCode opCode) : this(opCode, new ValueParameter()) { }
public static Instruction Build(eOpCode opCode, byte rx, byte ry, bool fromMem = false, bool toMem = false) { return new Instruction(opCode, new RegisterParameter(rx, ry, fromMem, toMem)); }
public Instruction(eOpCode opCode, IParameter parameter) { OpCode = opCode; Parameter = parameter; }
public static Instruction Build(eOpCode opCode, ushort value = 0) { return new Instruction(opCode, new ValueParameter(value)); }