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

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
NEG
Instruction: Get the negative of a number.
NEG
Result: –SValue is stored in NValue.
Explanation
NEG
If the
the C flag is set (1) if SValue is negative or cleared (0) if SValue is positive. The result is
written to NValue unless the
NEGC
Instruction: Get a value, or its additive inverse, based on C.
NEGC
Result: Value or –Value is stored in RValue.
Page 386 · Propeller Manual v1.0
–INSTR– ZCRI –CON–
–INSTR– ZCRI –CON–
101001 001i 1111 ddddddddd sssssssss
101100 001i 1111 ddddddddd sssssssss
stores negative SValue into NValue.
NValue,
WZ
,
RValue,
NValue
SValue
NValue.
RValue
Value
value (if C = 1) will be written to RValue.
effect is specified, the Z flag is set (1) if SValue is zero. If the
(s-field) is a register or a 9-bit literal whose value (if C = 0) or additive inverse
#
(d-field) is the register in which to write the negative of SValue.
(s-field) is a register or a 9-bit literal whose negative value will be written to
(d-field) is the register in which to write Value or –Value.
#
SValue
– Assembly Language Reference
Value
–DEST–
–DEST–
NR
effect is specified.
–SRC–
–SRC–
Result = 0
Result = 0
Z Result
Z Result
C Result
C Result
S[31]
S[31]
WC
effect is specified,
Written
Written
Result
Result
Clocks
Clocks
4
4

Related parts for 122-32000