/// <summary> /// Create new system based on Z80 /// </summary> /// <param name="memory">System memory</param> /// <param name="io">IO</param> /// <param name="cpuStack"></param> /// <param name="lookupTables"></param> /// <param name="executionUnit"></param> /// <param name="registerFile"></param> public ZilogZ80Cpu(IMemory memory, IInputOutputDevice io, ICpuStack cpuStack, ILookupTables lookupTables, IExecutionUnit executionUnit, IRegisterFile registerFile) { _memory = memory; _io = io; _executionUnit = executionUnit; _registerFile = registerFile; _cpuStack = cpuStack; lookupTables.Init(); Reset(); }
public AND_ImmediateToReg(byte opCode, IExecutionUnit eu, IBus bus) : base(opCode, eu, bus) { }
public INC_RegMem(byte opCode, IExecutionUnit eu, IBus bus) : base(opCode, eu, bus) { }
public LDS(byte opCode, IExecutionUnit eu, IBus bus) : base(opCode, eu, bus) { }
public INT(byte opCode, bool interruptCondition, int interruptNumber, IExecutionUnit eu, IBus bus) : base(opCode, eu, bus) { DoInterrupt = interruptCondition; InterruptNumber = interruptNumber; }
public OUT_Immediate(byte opCode, IExecutionUnit eu, IBus bus) : base(opCode, eu, bus) { }
public INT(byte opCode, IExecutionUnit eu, IBus bus) : base(opCode, eu, bus) { DoInterrupt = true; }
public INT(byte opCode, int interruptNumber, IExecutionUnit eu, IBus bus) : base(opCode, eu, bus) { DoInterrupt = true; InterruptNumber = interruptNumber; }
public RotateAndShift(byte opCode, IExecutionUnit eu, IBus bus) : base(opCode, eu, bus) { }
public LoadSegmentInstruction(byte opCode, IExecutionUnit eu, IBus bus) : base(opCode, eu, bus) { }
public LogicalInstruction(byte opCode, IExecutionUnit eu, IBus bus) : base(opCode, eu, bus) { }
public JMP_Far(byte opCode, IExecutionUnit eu, IBus bus) : base(opCode, eu, bus) { }
public CALL_Mem(byte opCode, IExecutionUnit eu, IBus bus) : base(opCode, eu, bus) { }
public NOOP_TwoByte(byte opCode, IExecutionUnit eu, IBus bus) : base(opCode, eu, bus) { }
public MOV_ImmediateWord(byte opCode, IExecutionUnit eu, IBus bus) : base(opCode, eu, bus) { }