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

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
Explanation
SHR
If the
effect is specified, the C flag is set equal to Value’s original bit 0. The result is written to
Value unless the
SUB
Instruction: Subtract two unsigned values.
SUB
Result: Difference of unsigned Value1 and unsigned Value2 is stored in Value1.
Explanation
SUB
Value1 register.
If the
effect is specified, the C flag is set (1) if the subtraction resulted in an unsigned borrow (32-
bit underflow). The result is written to Value1 unless the
–INSTR– ZCRI –CON–
100001 001i 1111 ddddddddd sssssssss
(Shift Right) shifts Value right by Bits places.
subtracts the unsigned Value2 from the unsigned Value1 and stores the result into the
Value1,
WZ
WZ
Value1
destination in which to write the result.
Value2
effect is specified, the Z flag is set (1) if the resulting Value equals zero. If the
effect is specified, the Z flag is set (1) if Value1 − Value2 equals zero. If the
#
(d-field) is the register containing the value to subtract Value2 from, and is the
(s-field) is a register or a 9-bit literal whose value is subtracted from Value1.
Value2
NR
effect is specified.
–DEST–
–SRC–
5: Assembly Language Reference –
Result = 0
Z Result
NR
effect is specified.
Unsigned Borrow
Propeller Manual v1.0 · Page 403
C Result
Result
Written
Clocks
4
WC
WC

Related parts for 122-32000