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

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
MAX
Instruction: Limit maximum of unsigned value to another unsigned value.
MAX
Result: Lesser of unsigned Value1 and unsigned Value2 is stored in Value1.
Explanation
MAX
the Value1 register, effectively limiting Value1 to a maximum of Value2.
If the
effect is specified, the C flag is set (1) if the unsigned Value1 is less than the unsigned
Value2. The lesser of the two values is written to Value1 unless the
MAXS
Instruction: Limit maximum of signed value to another signed value.
MAXS
Result: Lesser of signed SValue1 and signed SValue2 is stored in SValue1.
Page 378 · Propeller Manual v1.0
–INSTR– ZCRI –CON–
–INSTR– ZCRI –CON–
010011 001i 1111 ddddddddd sssssssss
010001 001i 1111 ddddddddd sssssssss
compares the unsigned values of Value1 and Value2 and stores the lesser of the two into
Value1,
,
WZ
SValue1,
Value1
the destination in which to write the lesser of the two.
Value2
SValue1
is the destination in which to write the lesser of the two.
SValue2
SValue1.
effect is specified, the Z flag is set (1) if Value1 and Value2 are equal. If the
#
(s-field) is a register or a 9-bit literal whose value is compared against Value1.
(d-field) is the register containing the value to compare against Value2 and is
Value2
(d-field) is the register containing the value to compare against SValue2 and
#
(s-field) is a register or a 9-bit literal whose value is compared against
– Assembly Language Reference
SValue2
–DEST–
–DEST–
–SRC–
–SRC–
Z Result
Z Result
D = S
D = S
Unsigned (D < S)
Signed (D < S)
C Result
C Result
NR
effect is specified.
Written
Written
Result
Result
Clocks
Clocks
4
4
WC

Related parts for 122-32000