public async Task HardResetAsync() { SetCycleCounter(0); //wait until processing stopped if (Worker != null) { await Worker; } //reset cpu Cpu.Reset(); }