45111 Parallax Inc, 45111 Datasheet - Page 51

MANUAL FOR SX-KEY/BLITZ VER. 2.0

45111

Manufacturer Part Number
45111
Description
MANUAL FOR SX-KEY/BLITZ VER. 2.0
Manufacturer
Parallax Inc
Datasheet

Specifications of 45111

Accessory Type
Manual
Product
Microcontroller Accessories
Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant
For Use With/related Products
Parallax microcontroller
For Use With
70002PAR - GUIDE PROG THE SX MICRO -DAUBACH
Lead Free Status / RoHS Status
Lead free / RoHS Compliant, Contains lead / RoHS non-compliant
7.3.5
The DS (define space) directive increments the location pointer during assembly. This may be used to
cause the assembler to arrange sequential RAM assignments (arrays). For example:
defines 3 bytes, starting at location 8, for the Array symbol. Array+1 is the second element of the array
and array+2 is the third element. The Other symbol’s first and second elements are placed starting with
location $0B. Note that no code is generated in the example above.
Instead of the DS, you may alternatively use the words RES or ZERO; they have the same meaning.
7.3.6
The DW (define word) directive defines 12-bit words in EEPROM. This is used to store a data table in
the SX EEPROM space. For example:
stores the values $FFF, $009 and $1A0 into EEPROM starting at the current location. You may also use
the DW directive to define a sequence of ASCII characters like in
This creates a data table in the EEPROM containing the ASCII codes of the characters specified in the
string, i.e. $068, $065, $06C, $06C, $06F. See Chapter 10.5 – Creating Tables for more information on
using tables.
7.3.7
The END directive indicates the end of the source code in a file. Any text that follows the end directive
is ignored by the assembler.
This feature is handy when you want to add any kind of comment text to the end of the source code file
without the need to mark each line as a comment.
The DS Directive
The DW Directive
The END Directive
ORG
Array
Other
DW
DW
$08
DS
DS
$FFF, $009, $1A0
“hello”
3
2
SX-Key/Blitz Development System Manual 2.0 Parallax, Inc. Page 51
7 The SASM Assembler

Related parts for 45111