Freescale Semiconductor Microcontrollers Manuale Utente Pagina 791

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
Vedere la pagina 790
Debugger Engine Commands
Debugger Commands
791
Microcontrollers Debugger Manual
GOTOIF
The GOTOIF command diverts execution of the command file to the command line that
follows the label if the condition is true. Otherwise, the command is ignored. The
GOTOIF command fails, if the condition is true and the label is not found.
Usage
GOTOIF condition Label
where condition is same as defined in “C” language.
Components
Debugger engine.
Example:
DEFINE jump = 0
...
DEFINE jump = jump + 1
...
GOTOIF jump == 10 MyLabel
T
...
MyLabel: // comments
The program pointer jumps to MyLabel only if jump equals 10. Otherwise, the next
instruction (T Trace command) is executed.
GRAPHICS
In the Profiler component, GRAPHICS switches the percentages display in the graph bar
on/off.
Usage
GRAPHICS on|off
Components
Profiler component.
Vedere la pagina 790
1 2 ... 786 787 788 789 790 791 792 793 794 795 796 ... 891 892

Commenti su questo manuale

Nessun commento