English
Language : 

45111 Datasheet, PDF (35/184 Pages) List of Unclassifed Manufacturers – 14-DAY MONEY BACK GUARANTEE
Button
Step
Walk
Run
Poll
Stop
Reset
Registers
Code
Watch
Reset Pos.
Quit
5 The SX-Key Debugger
Table 2 - Debugger Buttons and Shortcut Keys
Shortcut
Alt-S
Alt-W
Alt-R
Alt-L
Alt-P
Alt-T
Alt-E
Alt-D
Alt-C
none
Alt-Q
Function
Executes one machine instruction.
Executes multiple machine instructions in “slow motion”.
Executes instructions in full speed.
Updates display then continues execution. Can be used synchronously or
asynchronously.
Halts execution of a walk or run operation.
Resets the SX chip.
Brings Registers window into view.
Brings Code window into view.
Brings Watch window into view.
Resets all debugger windows to their defaults.
Closes the Debug Windows and exits debug mode.
The Debug windows are highly active and interactive displays. Every time the display is updated (after
a step, walk, poll or stop operation), each register that was modified since the previous update is high-
lighted in red. This provides a clear indication of what the last instruction accomplished. Similarly, each
bit that was changed is marked in red within all registers shown in binary. Additionally, the assembly
code box and Code window highlights the instruction pointed to by the program counter (PC) in blue,
and a breakpoint in red.
5.1.3 The Watch Window
The Watch window displays the contents of selected registers in a user-defined format. The values in
the Watch window can be modified using the same methods described in Section 5.1.5 – Modifying
registers during debugging, below. In addition, the numerical values in the Watch window can be
modified in any format (binary, hexadecimal or decimal) regardless of the displayed format. Simply
precede the input value with a %, $, or nothing, respectively. String values can only be modified by
entering new strings. See the Watch directive section in Chapter 7.3.23 – The Watch Directive for
information of defining watches.
5.1.4 The Code/List File Window
This window displays the contents of the list file generated by the assembler (see Chapter 7.10 – Files
Created by SASM for more information about the list file). While a program is executed in single steps,
or in walk mode, the instruction that is currently executed is highlighted with a blue background.
If a breakpoint is defined, this line is highlighted with a red background.
The Code/List File window has a toolbar with several shortcut buttons. These buttons have the
following meanings:
SX-Key/Blitz Development System Manual 2.0 • Parallax, Inc. • Page 35