Specifications
BASIC Stamp I and Stamp II Conversions
Page 390 • BASIC Stamp Programming Manual 1.8 • Parallax, Inc.
IBIN{1..16} value Displays value in binary preceded by a
“%” and optionally limited or padded
for 1 to 16 digits.
ISBIN{1..16} value Displays value in signed binary pre-
ceded by a “%” and optionally limited
or padded for 1 to 16 digits. Value must
not be less than a word variable.
SPECIAL SYMBOLS:
(The following symbols can be included in the output data)
BELL Causes the computer to beep.
BKSP Causes the cursor to backup one space.
CLS Causes the debug window to be cleared.
CR Causes a carriage return to occur in debug window.
HOME Causes the cursor in the debug window to return to
home position.
TAB Causes the cursor to move to next tab position.
CONVERSION: BS1 R BS2
1.Replace all ‘#’ formatters with ‘DEC’.
2.Replace all ‘$’ formatters with ‘HEX?’.
3.Replace all ‘%’ formatters with ‘BIN?’.
4.Replace all ‘@’ formatters with ‘ASC?’.
5. If variable has no formatters preceding it, add the ‘DEC?’ formatter
before variable.
• Signs, type indicators, strings and digit limitation formatting
options are available for more flexibility.
Example:
BS1: DEBUG #B0, $B1, %B2
BS2: DEBUG DEC AByte, HEX? AWord, BIN? ANibble










