Figure 2.6 Bit Field Deposit Instruction - Analog Devices ADSP-2106x SHARC User Manual

Table of Contents

Advertisement

Computation Units
The FDEP (field deposit) instructions take a group of bits from the input
register Rx (starting at the LSB of the 32-bit integer field) and deposit them
anywhere within the result register Rn. The bit6 value specifies the
starting bit position for the deposit. See Figure 2.6.
The FEXT (field extract) instructions extract a group of bits from anywhere
within the input register Rx and place them in the result register Rn
(aligned with the LSB of the 32-bit integer field). The bit6 value specifies
the starting bit position for the extract.
Rn=FDEP Rx BY Ry
39
Ry
Ry determines length of bit field to take from Rx and starting bit position for deposit in Rn
39
Rx
len6 = number of bits to take from Rx, starting from LSB of 32-bit field
39
Rn
deposit field
bit6 = starting bit position for deposit, referenced from LSB of 32-bit field

Figure 2.6 Bit Field Deposit Instruction

www.BDTIC.com/ADI
19
13
7
len6
bit6
7
7
bit6
reference point
2
0
0
0
2 – 21

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

Table of Contents