User`s guide

SROM Mini-Debugger Command Set 3–33
User Commands
lo
The loop (lo) command enables or disables looping or repeating of a command by
toggling the loop flag.
Control Flags
Not applicable.
Description
When the loop flag is enabled, examine and deposit commands are repeated until
you stop the looping by pressing a key. This feature is useful for hardware timing of
read and write operations to the external cache or memory system, or anytime a
command needs to be repeated continuously.
The default state is off.
Example
In the following example that shows the dm command, the data pattern is written to
address 500000 continuously until a key is pressed. The em command reads and
displays the data from address 500000 continuously until a keystroke is detected.
SROM> lo
Loop ON
SROM> dm
A> 500000
D> 12345678
! (key pressed)