Ejemplo n.º 1
0
 public SubtractWithCarry_16bit(Z80Cpu cpu, RegAddrMode16Bit destinationAddressMode, RegAddrMode16Bit sourceAddressMode)
 {
     _cpu = cpu;
     _destinationAddressMode = destinationAddressMode;
     _sourceAddressMode      = sourceAddressMode;
     _internalCycle          = new InternalCycle(7);
 }
Ejemplo n.º 2
0
 public Add_16bit(Z80Cpu cpu, RegAddrMode16Bit destinationAddressMode, RegAddrMode16Bit sourceAddressMode, bool withCarry = false)
 {
     _cpu = cpu;
     _destinationAddressMode = destinationAddressMode;
     _sourceAddressMode      = sourceAddressMode;
     _withCarry     = withCarry;
     _internalCycle = new InternalCycle(7);
 }
Ejemplo n.º 3
0
 public Decrement_16bit(Z80Cpu cpu, RegAddrMode16Bit addressMode)
 {
     _cpu               = cpu;
     _addressMode       = addressMode;
     _remainingM1Cycles = 2;
 }