Rn = Bset Rx By Ry|<Data8> - Analog Devices ADSP-2106x SHARC User Manual

Table of Contents

Advertisement

Compute Operations
Syntax:
Rn = BSET Rx BY Ry
Rn = BSET Rx BY <data8>
Function:
Sets a bit in the fixed-point operand in register Rx. The result is placed in
the fixed-point field of register Rn. The floating-point extension field of Rn
is set to all 0s. The position of the bit is the 32-bit value in register Ry or
the 8-bit immediate value in the instruction. The 8-bit immediate data can
take values between 31 and 0 inclusive, allowing for any bit within a 32-bit
field to be set. If the bit position value is greater than 31 or less than 0, no
bits are set.
Status flags:
SZ
Is set if the output operand is 0, otherwise cleared
SV
Is set if the bit position is greater than 31, otherwise cleared
SS
Is cleared
Note: This compute operation affects a bit in a register file location. There
is also a bit manipulation instruction that affects one or more bits in a
system register. This BIT SET instruction should not be confused with the
BSET shifter operation. See Appendix E for more information on BIT SET.
www.BDTIC.com/ADI
Rn = BSET Rx BY Ry|<data8>
Shifter
B
B – 61

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the ADSP-2106x SHARC and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Table of Contents