public StackPointer(IProcessorBase processor, IRegister register, uint stackMemoryStart, uint stackSize) { this.processor = processor; this.register = register; this.stackMemoryStart = stackMemoryStart; this.stackSize = stackSize; }
public Computer(IProcessorBase processor, IMemory memory, IMemory rom = null) { Ports = new Dictionary <ushort, PeripheralPortHandler>(); peripherals = new LinkedList <Peripherals.IPeripheral>(); this.rom = rom; this.Processor = processor; this.Processor.Context = this; this.physicalMemory = new RAMMemory(this, memory); this.Processor.Initialize(); powerStatus = false; }
public ProgramCounter(IProcessorBase processor, Register <T> register) { this.processor = processor; this.register = register; }