45181 Parallax Inc, 45181 Datasheet - Page 60

SX TECH TOOL KIT NO POWER

45181

Manufacturer Part Number
45181
Description
SX TECH TOOL KIT NO POWER
Manufacturer
Parallax Inc
Series
SXr
Type
Microcontrollerr
Datasheet

Specifications of 45181

Contents
SX Book, SX Key, SX Tech Board, Samples, Resonators, Cable and Manual
Product
Microcontroller Basic Stamps
Operating Supply Voltage
5 V
For Use With/related Products
SX MCUs
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
7 The SASM Assembler
7.3.23 The TITLE and STITLE Directives
The TITLE or STITLE directives set up the text to be used in the top line of the list file. The syntax is:
The text specified with <string> will be repeated on top of each page of the list file, provided the option
LIST L=PAGE is active.
7.3.24 The WATCH Directive
The WATCH directive allows the definition of format for viewing and modifying variables at runtime
during debug mode. The variable’s bit address, number of bits or bytes to view, and display format
may be specified. The syntax for the WATCH directive is:
The symbol argument can be a symbol name or register address and can optionally specify a bit address
within the symbol. If no bit address is specified, bit 0 is assumed. The count argument indicates the
number of bits (1-32) or bytes (1-16) to include in the displayed value. When using the FSTR or ZSTR
format, the count is the number of bytes while in all other formats the count is the number of bits. Up to
32 WATCH directives can be specified. Table 10 – WATCH Display Formats, below, lists the available
format settings for the WATCH directive.
The WATCH directive may be specified anywhere in the source code, below a symbol’s definition;
however, it is suggested that it be specified near the top, below where symbols are defined. When code
containing one or more WATCH directives is assembled and programmed using Debug mode, a Watch
window appears, along with the other debugging windows, to display the results. The Watch window
display is updated at the same time the Registers and Code windows are updated. Typically, WATCH
directives are used in conjunction with the BREAK directive, however, asynchronous breaks and polls
(with the Poll button) may be used to update the display as well.
Page 60 SX-Key/Blitz Development System Manual 2.0 Parallax, Inc.
TITLE
STITLE
WATCH
Format
UDEC
UHEX
SHEX
SDEC
UBIN
ZSTR
SBIN
FSTR
“<string>”
“<string>”
symbol{.bit}, count, format
Operation
Displays value in unsigned decimal format
Displays value in signed decimal format
Displays value in unsigned hexadecimal format
Displays value in signed hexadecimal format
Displays value in unsigned binary format
Displays value in signed binary format
Displays values in fixed-length string format
Displays values in zero-terminated format with maximum size
Table 10 - WATCH Display Formats

Related parts for 45181