restart method
void
restart()
Implementation
void restart() {
//Debugger.verbose('${pcHex(-1)} [restart]');
Z.softReset();
// main routine only
programCounter--;
// visit the main 'routine'
visitRoutine([]);
//push dummy result store onto the call stack
callStack.push(0);
//push dummy return address onto the call stack
callStack.push(0);
if (Z.inBreak) {
Z.callAsync(Debugger.startBreak);
} else {
log.finest("run() callAsync(runIt)");
Z.callAsync(Z.runIt);
}
}