Specifications
Appendix C
Parallax, Inc. • BASIC Stamp Programming Manual 1.8 • Page 377
C
• CONSTANTVALUE is a valid number in decimal, hexidecimal,
binary or ascii.
Stamp I I/O and Variable Space
Word Name Byte Name Bit Names Special Notes
PORT PINS PIN0 - PIN7 I/O pins; bit addressable.
DIRS DIR0 - DIR7 I/O pin direction control;
bit addressable.
W0 B0 BIT0 - BIT7 Bit addressable.
B1 BIT8 - BIT15 Bit addressable.
W1 B2
B3
W2 B4
B5
W3 B6
B7
W4 B8
B9
W5 B10
B11
W6 B12 Used by GOSUB instruction.
B13 Used by GOSUB instruction.
BASIC STAMP II
The RAM space of the BASIC Stamp II consists of sixteen words of 16
bits each. Each word and each byte within the word has a unique,
predefined name similar to the Stamp I and shown in the table below.
The first three words, named INS, OUTS and DIRS, are reserved to
allow access and control over the 16 I/O pins on the Stamp II. These
reserved words represent the input states, output states and directions
of the pins respectively and are the Stamp II version of the single con-
trol word, PORT, on the Stamp I. In comparison to the Stamp I, the
control registers’ size has been doubled and the I/O register PINS has
been split into two words, INS and OUTS, for flexibility. Each word
consists of a predefined name for its byte, nibble and bit parts.










