ALU Fixed-Point
B Compute Operations
Rn = (Rx + Ry)/2
Syntax:
Rn = (Rx + Ry)/2
Function:
Adds the fixed-point fields in registers Rx and Ry and divides the result
by 2. The result is placed in the fixed-point field in register Rn. The
floating-point extension field in Rn is set to all 0s. Rounding is to nearest
(IEEE) or by truncation, as defined by the rounding mode bit in the
MODE1 register.
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 set if the carry from the most significant adder stage is 1,
otherwise cleared
AS
Is cleared
AI
Is cleared
B – 8
www.BDTIC.com/ADI
Need help?
Do you have a question about the ADSP-2106x SHARC and is the answer not in the manual?
Questions and answers