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

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
Here, the value of
of Bitwise OR may also be used within expressions for intermediate results; see Intermediate
Assignments, page 253.
Be careful not to get Bitwise OR ‘
manipulation while Boolean OR is for comparison purposes (see page 273).
Bitwise XOR ‘
The Bitwise XOR operator performs a bitwise XOR of the bits of the first operand with the
bits of the second operand. Bitwise XOR can be used in both variable and integer constant
expressions, but not in floating-point constant expressions.
Each bit of the two operands is subject to the following logic:
Example:
X := %00101100 | %00001111
The above example XORs %00101100 with %00001111 and writes the result, %00100011,
to
Bitwise XOR has an assignment form,
operand and the result destination. For example,
X ^= $F 'Short form of X := X ^ $F
Here, the value of
form of Bitwise XOR may also be used within expressions for intermediate results; see
Intermediate Assignments, page 253.
X
.
^
’, ‘
X
X
^=
is ORed with $F and the result is stored back in
is XORed with $F and the result is stored back in
Table 4-13: Bitwise XOR Truth Table
0
0
1
1
Bit States
|
’confused with Boolean OR ‘
0
1
0
1
^=
, that uses the variable to its left as both the first
Result
0
1
1
0
Propeller Manual v1.0 · Page 271
OR
’. Bitwise OR is for bit
X
. The assignment form
X
. The assignment

Related parts for 122-32000