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

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
X := Y * 8
Multiply-Low has an assignment form,
operand and the result destination. For example,
X *= 20 'Short form of X := X * 20
Here, the value of
The assignment form of Multiply-Low may also be used within expressions for intermediate
results; see Intermediate Assignments, page 253.
Multiply, Return High‘
This operator is also called Multiply-High. It can be used in both variable and integer
constant expressions, but not in floating-point constant expressions. Multiply High multiplies
two values together and returns the upper 32 bits of the 64-bit result. Example:
X := Y ** 8
If
result.
Multiply-High has an assignment form,
operand and the result destination. For example,
X **= 20 'Short form of X := X ** 20
Here, the value of
The assignment form of Multiply-High may also be used within expressions for intermediate
results; see Intermediate Assignments, page 253.
Divide ‘
Divide can be used in both variable and constant expressions. When used with variable
expressions or integer constant expressions, it divides one value by another and returns the
32-bit integer result. When used with floating-point constant expressions, it divides one
value by another and returns the 32-bit single-precision floating-point result. Example:
X := Y / 4
Divide has an assignment form,
and the result destination. For example,
X /= 20 'Short form of X := X / 20
Y
started out as 536,870,912 (2
/
’, ‘
/=
X
X
is multiplied by 20 and the lowest 32 bits of the result is stored back in
is multiplied by 20 and the upper 32 bits of the result is stored back in
**
’, ‘
**=
/=
29
) then
, that uses the variable to its left as both the first operand
*=
**=
Y **
, that uses the variable to its left as both the first
, that uses the variable to its left as both the first
8 equals 1; the value in the upper 32 bits of the
Propeller Manual v1.0 · Page 259
X
X
.
.

Related parts for 122-32000