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

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
SUMNZ
Instruction: Sum a signed value with another whose sign is inverted depending on !Z.
SUMNZ
Result: Sum of signed SValue1 and ±SValue2 is stored in SValue1.
Explanation
SUMNZ
to –SValue2 (if Z = 0) and stores the result into the SValue1 register.
If the
effect is specified, the C flag is set (1) if the summation resulted in a signed overflow. The
result is written to SValue1 unless the
SUMZ
Instruction: Sum a signed value with another whose sign is inverted depending on Z.
SUMZ
Result: Sum of signed SValue1 and ±SValue2 is stored in SValue1.
Page 408 · Propeller Manual v1.0
–INSTR– ZCRI –CON–
–INSTR– ZCRI –CON–
100111 001i 1111 ddddddddd sssssssss
100110 001i 1111 ddddddddd sssssssss
WZ
(Sum with !Z-affected sign) adds the signed value of SValue1 to SValue2 (if Z = 1) or
SValue1,
SValue1,
SValue1
-SValue2, and is the destination in which to write the result.
SValue2
summed into SValue1.
SValue1
SValue2, and is the destination in which to write the result.
SValue2
summed into SValue1.
effect is specified, the Z flag is set (1) if SValue1 ± SValue2 equals zero. If the
,
(s-field) is a register or a 9-bit literal whose value is sign-affected by !Z and
(d-field) is the register containing the value to sum with either SValue2 or
#
(d-field) is the register containing the value to sum with either –SValue2 or
(s-field) is a register or a 9-bit literal whose value is sign-affected by Z and
#
SValue2
SValue2
– Assembly Language Reference
–DEST–
–DEST–
–SRC–
–SRC–
NR
effect is specified.
Result = 0
Result = 0
Z Result
Z Result
Signed Overflow
Signed Overflow
C Result
C Result
Written
Written
Result
Result
Clocks
Clocks
4
4
WC

Related parts for 122-32000