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

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
SUBABS
Instruction: Subtract an absolute value from another value.
SUBABS
Result: Difference of Value and absolute of signed SValue is stored in Value.
Explanation
SUBABS
register.
If the
effect is specified, the C flag is set (1) if the subtraction resulted in an unsigned borrow (32-
bit underflow). The result is written to Value unless the
SUBS
Instruction: Subtract two signed values.
SUBS
Result: Difference of signed SValue1 and signed SValue2 is stored in SValue1.
Page 404 · Propeller Manual v1.0
–INSTR– ZCRI –CON–
–INSTR– ZCRI –CON–
100011 001i 1111 ddddddddd sssssssss
110101 001i 1111 ddddddddd sssssssss
WZ
SValue1,
subtracts the absolute of SValue from Value and stores the result into the Value
Value
from, and is the destination in which to write the result.
SValue
Value.
SValue1
the destination in which to write the result.
SValue2
Value,
effect is specified, the Z flag is set (1) if Value − |SValue| equals zero. If the
,
(d-field) is the register containing the value to subtract the absolute of SValue
(s-field) is a register or a 9-bit literal whose absolute value is subtracted from
(s-field) is a register or a 9-bit literal whose value is subtracted from SValue1.
(d-field) is the register containing the value to subtract SValue2 from, and is
#
#
SValue2
SValue
– Assembly Language Reference
–DEST–
–DEST–
–SRC–
–SRC–
Result = 0
Result = 0
Z Result
Z Result
NR
effect is specified.
Signed Underflow
Unsigned Borrow
C Result
C Result
Written
Written
Result
Result
Clocks
Clocks
4
4
WC

Related parts for 122-32000