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

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
ADDSX
and stores the result into the SValue1 register. Use the
(with the
additions, for example.
If the
SValue2 + C equals zero (use
is specified, the C flag is set (1) if the summation resulted in a signed overflow. The result is
written to SValue1 unless the
Note that in a multi-long signed operation, the first instruction is unsigned (ex:
middle instructions are unsigned, extended (ex:
extended (ex:
ADDX
Instruction: Add two unsigned values plus C.
ADDX
Result: Sum of unsigned Value1 and unsigned Value2 plus C flag is stored in Value1.
Explanation
ADDX
the result into the Value1 register. Use the
and optionally
If the
C equals zero (use
specified, the C flag is set (1) if the summation resulted in an unsigned carry (32-bit
overflow). The result is written to Value1 unless the
–INSTR– ZCRI –CON–
110010 001i 1111 ddddddddd sssssssss
(Add Extended) sums the two unsigned values of Value1 and Value2 plus C, and stores
WZ
Value1,
(Add Signed, Extended) sums the two signed values of SValue1 and SValue2 plus C,
WZ
Value1
destination in which to write the result.
Value2
effect is specified, the Z flag is set (1) if Z was previously set and Value1 + Value2 +
effect is specified, the Z flag is set (1) if Z was previously set and SValue1 +
WC
, and optionally
ADDSX
(d-field) is the register containing the value to add to Value2 plus C, and is the
(s-field) is a register or a 9-bit literal whose value plus C is added into Value1.
WZ
#
, effect) to perform multi-long additions; 64-bit additions, for example.
Value2
).
WC
–DEST–
and
WZ
NR
WC
WZ
effect is specified.
on preceding
and
, effect) to perform multi-long, signed additions; 64-bit
–SRC–
WZ
5: Assembly Language Reference –
on preceding
ADDX
Z & (Result = 0)
ADD
Z Result
instruction after an
ADDX
or
NR
ADD
ADDX
), and the last instruction is signed,
effect is specified.
ADDSX
or
ADDX
instruction). If the
Unsigned Carry
instruction after an
Propeller Manual v1.0 · Page 357
C Result
instruction). If the
ADD
or
ADDX
Result
Written
(with the
WC
ADD
ADD
WC
effect is
or
Clocks
), any
effect
ADDX
4
WC
,

Related parts for 122-32000