Shifter
B Compute Operations
Rn = Rn OR LSHIFT Rx BY Ry|<data8>
Syntax:
Rn = Rn OR LSHIFT Rx BY Ry
Rn = Rn OR LSHIFT Rx BY <data8>
Function:
Logically shifts the fixed-point operand in register Rx by the 32-bit value
in register Ry or by the 8-bit immediate value in the instruction. The
shifted result is logically ORed with the fixed-point field of register Rn
and then written back to register Rn. The floating-point extension field of
Rn is set to all 0s. The shift values are twos-complement numbers. Positive
values select a left shift, negative values select a right shift. The 8-bit
immediate data can take values between –128 and 127 inclusive, allowing
for a shift of a 32-bit field from off-scale right to off-scale left.
Status flags:
SZ
Is set if the shifted result is zero, otherwise cleared
SV
Is set if the input is shifted left by more than 0, otherwise cleared
SS
Is cleared
B – 56
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