Crossware

Table of Contents        Previous topic       Next topic       

Commands->Undo Instruction

Simulation

The Undo Instruction command will restart the simulation and execute all instructions up to but excluding the one that has just been executed.

All breakpoints are ignored during re-execution.

This command can be repeatedly used to step backwards through the program one instruction at a time.

The simulator uses the number of machine cycles counted up to the previous instruction to determine the location at which re-execution should stop.  Therefore if any instructions are executed differently, execution might stop at a different location.

On-chip Debugging

This command is not available.