Пример #1
0
 public RotateDigit(Z80Cpu cpu, bool isLeftShift)
 {
     _cpu           = cpu;
     _addressMode   = new RegIndirect(_cpu, WideRegister.HL);
     _internalCycle = new InternalCycle(4);
     _isLeftShift   = isLeftShift;
 }
Пример #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;
 }