Download MOTOROLA DSP SIMULATOR REFERENCE MANUAL
Transcript
Graphical User Interface EXECUTE menu 9.5 EXECUTE menu The Execute menu controls the execution of programs on the target device: •Go lets the program run until a breakpoint or other event interrupts execution. Options are available to specify the execution start address and the way that breakpoints (if set) are to be handled. •Step executes a specified number of instructions, cycles, or lines of code. If a function call is executed, Step follows the execution through the function. •Trace executes a specified number of instructions, generating a trace of each instruction executed. After each instruction execution the enabled registers and memory locations are output to the SESSION window. •Next executes a specified number of instructions or lines of code, skipping over all function calls. •Finish executes to the end of the current function, terminating after the RTS instruction is executed. •Until specifies a temporary breakpoint and executes until that (or optionally, any other) breakpoint is met. •Breakpoints allows the setting and clearing of breakpoints. A breakpoint is an event (e.g. executing a particular instruction, expression value non-zero) and an action (e.g. increment counter, stop execution). •Wait pauses, either indefinitely, until a timer has expired, or the user cancels the wait. This is useful in Macro files to freeze the screen for examination. •Stop stops execution and returns control to the user. •Reset is used to reset the device registers, to change the mode of a device, or to reset the entire Simulator state. 9.5.1 EXECUTE//GO EXECUTE//GO opens the GO dialog box to control program execution. There are options controlling the starting address and the way breakpoints (if any have been set) are to be handled. These options are summarized in the illustration below. The program is allowed to run free from the specified starting point until it is stopped by one of several events. These include user action (EXECUTE/ /STOP, STOP LIGHT button), until the program hits a breakpoint specified to stop program execution, or until the program executes an instruction which ends execution, such as STOP or an illegal instruction). 9-48 DSP SIMULATOR REFERENCE MANUAL MOTOROLA