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

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
SUBS
SValue1 register.
If the
effect is specified, the C flag is set (1) if the subtraction resulted in a signed underflow. The
result is written to SValue1 unless the
SUBSX
Instruction: Subtract signed value plus C from another signed value.
SUBSX
Result: Difference of signed SValue1, and signed SValue2 plus C flag, is stored in SValue1.
Explanation
SUBSX
SValue1, and stores the result into the SValue1 register. Use the
or
bit subtractions, for example.
If the
(SValue2 + C) equals zero (use
effect is specified, the C flag is set (1) if the subtraction resulted in a signed underflow. 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:
–INSTR– ZCRI –CON–
110111 001i 1111 ddddddddd sssssssss
SUBX
subtracts the signed SValue2 from the signed SValue1 and stores the result into the
WZ
WZ
(Subtract Signed, Extended) subtracts the signed value of SValue2 plus C from
SValue1,
(with the
SValue1
and is 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
effect is specified, the Z flag is set (1) if Z was previously set and SValue1 −
SUBSX
(d-field) is the register containing the value to subtract SValue2 plus C from,
(s-field) is a register or a 9-bit literal whose value plus C is subtracted from
#
WC
, and optionally
).
SValue2
–DEST–
WC
–SRC–
5: Assembly Language Reference –
WZ
and
NR
NR
, effect) to perform multi-long, signed subtractions; 64-
effect is specified.
WZ
effect is specified.
on preceding
Z & (Result = 0)
Z Result
SUBX
), and the last instruction is signed,
SUB
Signed Underflow
or
Propeller Manual v1.0 · Page 405
C Result
SUBSX
SUBX
instruction). If the
instruction after a
Result
Written
SUB
Clocks
), any
4
SUB
WC
WC

Related parts for 122-32000