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

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
SUBX
Instruction: Subtract unsigned value plus C from another unsigned value.
SUBX
Result: Difference of unsigned Value1, and unsigned Value2 plus C flag, is stored in Value1.
Explanation
SUBX
Value1 and stores the result into the Value1 register. Use the
SUBX
subtractions, for example.
If the
+ C) equals zero (use
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
SUMC
Instruction: Sum a signed value with another whose sign is inverted depending on C.
SUMC
Result: Sum of signed SValue1 and ±SValue2 is stored in SValue1.
Page 406 · Propeller Manual v1.0
–INSTR– ZCRI –CON–
110011 001i 1111 ddddddddd sssssssss
(Subtract Extended) subtracts the unsigned value of Value2 plus C from the unsigned
(with the
WZ
Value1, 〈#〉 Value2
SValue1,
,
Value1
and is the destination in which to write the result.
Value2
Value1.
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 Z was previously set and Value1 − (Value2
(s-field) is a register or a 9-bit literal whose value plus C is subtracted from
(d-field) is the register containing the value to subtract Value2 plus C from,
(s-field) is a register or a 9-bit literal whose value is sign-affected by C and
#
(d-field) is the register containing the value to sum with either –SValue2 or
WC
– Assembly Language Reference
SValue2
, and optionally
–DEST–
WC
and
WZ
on preceding
–SRC–
WZ
, effect) to perform multi-long subtractions; 64-bit
Z & (Result = 0)
Z Result
SUB
or
NR
SUBX
effect is specified.
Unsigned Borrow
instruction). If the
SUBX
C Result
instruction after a
Written
Result
WC
effect is
Clocks
SUB
4
or

Related parts for 122-32000