/// <summary> /// Default Constructor, Instantiates a new instance of the processor. /// </summary> public Processor() { Stack = new byte[256]; Memory = new Ram(0xFFFF); StackPointer = 0xFF; InitalizeStack(); InterruptPeriod = 20; NumberofCyclesLeft = InterruptPeriod; }
/// <summary> /// Default Constructor, Instantiates a new instance of the processor. /// </summary> public Processor() { Memory = new Ram(0x10000); StackPointer = 0x100; }