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

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
ADDS
Instruction: Add two signed values.
ADDS
Result: Sum of signed SValue1 and signed SValue2 is stored in SValue1.
Explanation
ADDS
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
ADDSX
Instruction: Add two signed values plus C.
ADDSX
Result: Sum of signed SValue1 and signed SValue2 plus C flag is stored in SValue1.
Page 356 · Propeller Manual v1.0
–INSTR– ZCRI –CON–
–INSTR– ZCRI –CON–
110100 001i 1111 ddddddddd sssssssss
110110 001i 1111 ddddddddd sssssssss
sums the two signed values of SValue1 and SValue2 together and stores the result into
WZ
SValue1,
SValue1,
,
SValue1
destination in which to write the result.
SValue2
SValue1
the destination in which to write the result.
SValue2
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 added into SValue1.
(d-field) is the register containing the value to add to SValue2 plus C, and is
#
(d-field) is the register containing the value to add to SValue2 and is the
(s-field) is a register or a 9-bit literal whose value plus C is added into
#
SValue2
SValue2
– Assembly Language Reference
–DEST–
–DEST–
–SRC–
–SRC–
NR
effect is specified.
Z & (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