Compute Operations
Syntax:
Rn = CLIP Rx BY Ry
Function:
Returns the fixed-point operand in Rx if the absolute value of the operand
in Rx is less than the absolute value of the fixed-point operand in Ry.
Otherwise, returns |Ry| if Rx is positive, and –|Ry| if Rx is negative. The
result is placed in the fixed-point field in register Rn. The floating-point
extension field in Rn is set to all 0s.
Status flags:
AZ
Is set if the fixed-point output is all 0s, otherwise cleared
AU Is cleared
AN Is set if the most significant output bit is 1, otherwise cleared
AV Is cleared
AC Is cleared
AS
Is cleared
AI
Is cleared
www.BDTIC.com/ADI
ALU Fixed-Point
Rn = CLIP Rx BY Ry
B
B – 23
Need help?
Do you have a question about the ADSP-2106x SHARC and is the answer not in the manual?
Questions and answers