45111 Parallax Inc, 45111 Datasheet - Page 71

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
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 45111