122-32000 Parallax Inc, 122-32000 Datasheet - Page 250

MANUAL PROPELLER

122-32000

Manufacturer Part Number
122-32000
Description
MANUAL PROPELLER
Manufacturer
Parallax Inc
Datasheets

Specifications of 122-32000

Accessory Type
Manual
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
For Use With/related Products
Propeller Education (PE) Kit
Lead Free Status / Rohs Status
Lead free / RoHS Compliant
1
.
Page 250 · Propeller Manual v1.0
Assignment forms of operators are not allowed in constant expressions.
Operator
Normal
AND
NOT
:=
--
++
**
//
#>
<#
^^
||
~~
~>
|<
>|
<<
>>
<-
->
><
OR
==
<>
=<
=>
@@
=
+
+
-
-
*
/
~
?
&
|
^
!
<
>
@
Assignment
Operator
always
always
always
always
always
always
always
if solo
if solo
if solo
if solo
if solo
if solo
if solo
never
AND=
never
never
**=
//=
#>=
<#=
~>=
<<=
>>=
<-=
->=
><=
OR=
===
<>=
=<=
=>=
+=
-=
*=
/=
&=
|=
^=
<=
>=
Constant Expressions
Integer
n/a
n/a
1
1
Table 4-9: Math and Logic Operators
Float
n/a
n/a
1
1
1
Unary
Is
Constant assignment (CON blocks), 254
Variable assignment (PUB/PRI blocks), 255
Add, 255
Positive (+X); unary form of Add, 256
Subtract, 256
Negate (-X); unary form of Subtract, 256
Pre-decrement (--X) or post-decrement (X--), 257
Pre-increment (++X) or post-increment (X++), 257
Multiply and return lower 32 bits (signed), 258
Multiply and return upper 32 bits (signed), 259
Divide (signed), 259
Modulus (signed), 260
Limit minimum (signed), 260
Limit maximum (signed), 261
Square root, 261
Absolute value, 261
Sign-extend from bit 7 (~X) or post-clear to 0 (X~); all bits low, 262
Sign-extend from bit 15 (~~X) or post-set to -1 (X~~); all bits high, 263
Shift arithmetic right, 264
Random number forward (?X) or reverse (X?), 264
Bitwise: Decode value (0 - 31) into single-high-bit long, 265
Bitwise: Encode long into value (0 - 32) as high-bit priority, 266
Bitwise: Shift left, 266
Bitwise: Shift right, 267
Bitwise: Rotate left, 267
Bitwise: Rotate right, 268
Bitwise: Reverse, 268
Bitwise: AND, 269
Bitwise: OR, 270
Bitwise: XOR, 271
Bitwise: NOT, 272
Boolean: AND (promotes non-0 to -1), 272
Boolean: OR (promotes non-0 to -1), 273
Boolean: NOT (promotes non-0 to -1), 274
Boolean: Is equal, 275
Boolean: Is not equal, 275
Boolean: Is less than (signed), 276
Boolean: Is greater than (signed), 277
Boolean: Is equal or less (signed), 277
Boolean: Is equal or greater (signed), 277
Symbol address, 278
Object address plus symbol, 278
Description, Page Number

Related parts for 122-32000