BASIC stamp manual v2.2

Using the BASIC Stamp Editor
Page 50 BASIC Stamp Syntax and Reference Manual 2.2 www.parallax.com
$STAMP directive in the program, notify you of this change and what it
means, and then will try to download to the BS2.
Another possibility is having two or more of the same BASIC Stamp
model connected to the PC. In this case, the editor will prompt you for
clarification as to which BASIC Stamp module you want to download to.
In this case using a $PORT directive in your code will save you some
tedium in repeatedly responding to such prompts.
The BASIC Stamp Editor also features a Memory Map that displays the
layout of the current PBASIC program. Type Ctrl+M, or press F7, to
activate this window.
When you activate the Memory Map, the editor will check your program
for syntax errors and, if the program’s syntax is okay, will present you
with a color-coded map of the RAM and EEPROM. You’ll be able to tell at
a glance how much memory you have used and how much remains.
Figure 3.13: Memory Map for
Demo Program DATA.bs2.
The Memory Map is divided into two sections, the RAM map and the
EEPROM map. The RAM map shows how much of each register has been
allotted to program variables. The RAM legend details how much is used
by I/O Pins, Word, Byte, Nibble and Bit variables, and how much is
unused.
MEMORY MAP FUNCTION.
T
HE RAM MAP.