context.err.println("Can not single step when emulation is running.");
return -1;
}
long nxt = 0;
try {
nxt = cpu.stepMicros(context.getArgumentAsLong(0), context.getArgumentAsLong(1));
} catch (Exception e) {
e.printStackTrace(context.out);
}
context.out.println("CPU stepped to: $" + cpu.getAddressAsString(cpu.getPC()) +
" in " + (cpu.cycles - cyc) + " cycles (" + cpu.cycles + ") - next exec time: " + nxt);