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

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
If the
specified, the C flag is set (1) if SValue1 is less than or equal to SValue2.
CMPSUB
Instruction: Compare two unsigned values and subtract the second if it is lesser or equal.
CMPSUB
Result: Optionally, Value1 = Value1 – Value2, and Z and C flags = comparison results.
Explanation
CMPSUB
greater than Value1 then it is subtracted from Value1 (if the
C flags, if written, indicate the relative equal, and greater or lesser relationship between the
two.
If the
specified, the C flag is set (1) if Value1 is equal to or greater than Value2. If the
specified, the result, if any, is written to Value1.
–INSTR– ZCRI –CON–
111000 000i 1111 ddddddddd sssssssss
WZ
WZ
compares the unsigned values of Value1 and Value2, and if Value2 is equal to or
Value1
is the destination in which to write the result if a subtraction is performed.
Value2
possibly subtracted from Value1.
effect is specified, the Z flag is set (1) if SValue1 equals SValue2. If the
Value1,
effect is specified, the Z flag is set (1) if Value1 equals Value2. If the
(d-field) is the register containing the value to compare with that of Value2 and
(s-field) is a register or a 9-bit literal whose value is compared with and
#
Value2
–DEST–
5: Assembly Language Reference –
–SRC–
Z Result
D = S
Unsigned (D => S)
WR
Propeller Manual v1.0 · Page 363
effect is specified). The Z and
C Result
Not Written
Result
WC
WR
WC
effect is
effect is
effect is
Clocks
4

Related parts for 122-32000