Goto – Freescale Semiconductor Microcontrollers User Manual

Page 790

Advertising
background image

Debugger Engine Commands

Debugger Commands

790

Microcontrollers Debugger Manual

Components

Debugger engine.

Example:

in>GO 0x8000

Program execution is started at address 0x8000. RUNNING is displayed in the
status bar. The application runs until a breakpoint is reached or you stop execution.

GOTO

The GOTO command diverts execution of the command file to the command line that
follows the Label. The Label must be defined in the current command file. The GOTO
command fails, if the Label is not found. A label can only be followed on the same line by
a comment.

Usage

GOTO Label

Components

Debugger engine.

Example:

GOTO MyLabel

...

...

MyLabel: // comments

When the instruction GOTO MyLabel is reached, the program pointer jumps to
MyLabel and follows program execution from this position.

Advertising