45181 Parallax Inc, 45181 Datasheet - Page 71

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
All expressions are evaluated at assemble-time only; they are never reevaluated during run-time. This
means symbols for unknowns, such as registers (which change at runtime), can not be included inside
expressions.
All constants and symbols within expressions may be 32-bit numbers and the result of the
expression is a 32-bit number. Since the SX is only an 8-bit processor, care must be taken to extract
the appropriate portion of the result for any particular operation. Table 11 – Unary Operators and
Table
sions.
Expressions are evaluated strictly from left-to-right, except when parentheses are present. The following
code demonstrates some simple expression usage.
12
– Binary Operators describe the available unary and binary operators for use within expres-
loop_count
table
mov
equ 5*3
ds
loop_count+10/5, #%01101
5+(2*3)
Symbol
Symbol
Table 12 - Binary Operators
Table 11 - Unary Operators
||
//
<<
>>
><
( )
&
~
\
+
/
|
^
*
-
-
.
Unary Operation
Binary Operation
Absolute value
Negative
Not
Macro assignment
Addition
Subtraction
Multiplication
Division
Modulus
Logical AND
Logical OR
Logical XOR
Shift left
Shift right
Reverse bits
Bit address
Sub-expression
SX-Key/Blitz Development System Manual 2.0 Parallax, Inc. Page 71
7 The SASM Assembler

Related parts for 45181