public DoubleAddOperation(Machine parent, byte opcode) : base(parent) { source = BitsToRegister((opcode & 0b110000) >> 4); Cycles = 10; }
public ImmediateLoadRegisterPairOperation(Machine parent, byte opcode) : base(parent) { target = BitsToRegisterPair((byte)((opcode & 0b110000) >> 4)); Cycles = 10; Length = 3; }
public StackOperation(Machine parent, byte opcode) : base(parent) { target = BitsToRegisterPair((byte)((opcode & 0b110000) >> 4)); push = (opcode & 0b100) > 0; Cycles = push ? 11 : 10; }
public AccMoveOperation(Machine parent, byte opcode) : base(parent) { target = (opcode & 0b10000) > 0 ? OperationTarget16.D : OperationTarget16.B; store = (opcode & 0b1000) == 0; Cycles = 7; }
public DoubleIncDecOperation(Machine parent, byte opcode) : base(parent) { target = BitsToRegister((opcode & 0b110000) >> 4); inc = (opcode & 0b1000) == 0; Cycles = 5; }