public IN(Z80Cpu cpu, Register destination, IReadAddressedOperand <byte> source, Register topHalfOfAddressSource) { _cpu = cpu; _destination = destination; _source = source; _inputCycle = new InputCycle(cpu); _topHalfOfAddressSource = topHalfOfAddressSource; }
public INxx(Z80Cpu cpu, bool increment, bool repeats) { _cpu = cpu; _inputCycle = new InputCycle(cpu); _destination = new RegIndirect(cpu, WideRegister.HL); _repeatCycles = new InternalCycle(5); _remainingM1Cycles = 1; _increment = increment; _repeats = repeats; }