public static MemoryManager GetInstance() { if (instance == null) instance = new MemoryManager(); return instance; }
private Processor() { registers = new uint[REGISTERS_COUNT]; for (int i = 0; i < REGISTERS_COUNT; i++) registers[i] = 0; memory = MemoryManager.GetInstance(); }