Program and Data Memory
The BS2 has 2K bytes of EEPROM which holds the executable BASIC
program and any data. Memory not used by the BASIC program can
be read and written at run-time as a data bank, or initialized with data
at download time. This memory is only affected by downloading or
run-time modification.
There are 32 bytes of RAM which serve as variable space and I/O pin
interface for the BASIC program. This memory can be accessed as
words, bytes, nibbles, or bits. Each time the BASIC program is run
anew, this memory is cleared to all zeroes.
So, the 2K byte EEPROM is for program and data, and only affected by
initial downloading or run-time modification. It survives power-down.
The 32 bytes of RAM are for run-time variables and I/O pin access.
This memory is cleared each time the BS2 is powered up, reset, or down-
loaded to.
The 2K-byte EEPROM is arranged as follows:
byte $000
byte $7FF
Page 14 • BASIC Stamp II Manual 0.94 • Parallax, Inc. • (916) 624-8333
BASIC Stamp II
Data start
Data end
Program end
Program start
Need help?
Do you have a question about the BASIC Stamp II and is the answer not in the manual?