Esempio n. 1
0
File: IN.cs Progetto: dolbz/Z80Sharp
 public IN(Z80Cpu cpu, Register destination, IReadAddressedOperand <byte> source, Register topHalfOfAddressSource)
 {
     _cpu                    = cpu;
     _destination            = destination;
     _source                 = source;
     _inputCycle             = new InputCycle(cpu);
     _topHalfOfAddressSource = topHalfOfAddressSource;
 }
Esempio n. 2
0
 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;
 }