45181 Parallax Inc, 45181 Datasheet - Page 58

SX TECH TOOL KIT NO POWER

45181

Manufacturer Part Number
45181
Description
SX TECH TOOL KIT NO POWER
Manufacturer
Parallax Inc
Series
SXr
Type
Microcontrollerr
Datasheet

Specifications of 45181

Contents
SX Book, SX Key, SX Tech Board, Samples, Resonators, Cable and Manual
Product
Microcontroller Basic Stamps
Operating Supply Voltage
5 V
For Use With/related Products
SX MCUs
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
7 The SASM Assembler
Note that the ORG directive does not dictate whether the location is in RAM or EEPROM. The
assembler simply sets the location pointer as desired and the instructions or directives following the
ORG will be processed in relation to this pointer. The ORG directive is used to place data and
instructions at specific locations in RAM and E
7.3.19 The RADIX Directive
The RADIX directive sets the default for constants. The syntax is:
The radix can be set to binary, octal, decimal, or hexadecimal. The default radix is decimal unless
modified by a RADIX directive or by LIST R = <radix>.
Here is an example:
7.3.20 The REPT Directive
The REPT (repeat) directive is used to indicate that a block of code is to be repeated a specified number
of times during assembly. The syntax for the REPT directive is:
Note that count must be greater than 0 and ENDR is required to end the repeat block. For example:
Page 58 SX-Key/Blitz Development System Manual 2.0 Parallax, Inc.
ORG
RADIX = B | BIN | O | OCT | D | DEC | H | HEX
ORG
RADIX = HEX
ORG
REPT
codeblock
ENDR
REPT
add
ENDR
100
100
location
count
3
$0A, #$01
; Sets the origin to 64 hex or 100 decimal (default radix is decimal)
; Sets the origin to 100 hex or 256 decimal (radix is hex now)
2
Flash.

Related parts for 45181