Debugger Engine Commands
Debugger Commands
836
Microcontrollers Debugger Manual

WHILE

The WHILE command allows you to execute a sequence of commands as long as a
certain condition is true. The WHILE command may be nested.
This command can be stopped by pressing the Esc key.
Usage
WHILE condition
Where condition is defined as in ā€œCā€ language definition.
Components
Debugger engine.
Example:
DEFINE jump = 0
...
WHILE jump < 20
DEFINE jump = jump + 1
ENDWHILE
T
...
While jump < 100, the jump variable is incremented by the instruction DEFINE
jump = jump + 1. Then the loop ends and the T Trace instruction is executed.

WL

The WL command sets a specified block of memory to a specified list of longword values.
When the range is wider than the list of longword values, the list of longword values is
repeated as many times as necessary to fill the memory block. When the range is not an
integer or a multiple of the length of the list, the last copy of the list is truncated
accordingly.
When a size is specified in the range, this size represents the number of longwords to
modify.