Sign in

username:

password:



Not a member?

Search c55x



Search tips

Subscribe to c55x



c55x by Keywords

AIC23 | C5509 | CCS | CSL | EMIF | EVM | GEL | GPIO | HPI | Interfacing | JTAG | McBSP | OMAP | Omap15 | OMAP59 | RTDX | SDRAM | TMS320VC5509 | USB | XDS5

Discussion Groups

Discussion Groups | TMS320C55x | Left most Bit Detection

Technical discussions about the TI C55x DSPs (including the c5501, c5502, c5503, c5507, c5509, c5510 and OMAP5910).

  

Post a new Thread

Left most Bit Detection - malh...@gmail.com - Dec 26 9:53:48 2007



Hi All, 

I am a newbie to 5510 DSP. I am trying to write a program where in i require an instruction to
find the first '1' from MSB in a value. In 6482 DSp, there's an instruction called LMBD(Left
Most Bit Detection) which does the job but not in 5510 DSP. 
Any ideas please??



(You need to be a member of c55x -- send a blank email to c55x-subscribe@yahoogroups.com )

Re: Left most Bit Detection - chandrakala reddy - Dec 27 8:16:40 2007

Hi,

have you tried BFXTR instruction.
On 12/24/07, m...@gmail.com <m...@gmail.com> wrote:
>
>   Hi All,
>
> I am a newbie to 5510 DSP. I am trying to write a program where in i
> require an instruction to find the first '1' from MSB in a value. In 6482
> DSp, there's an instruction called LMBD(Left Most Bit Detection) which does
> the job but not in 5510 DSP.
> Any ideas please??



(You need to be a member of c55x -- send a blank email to c55x-subscribe@yahoogroups.com )

Re: Left most Bit Detection - moranjkicadnan - Dec 27 8:17:55 2007

--- In c...@yahoogroups.com, malhotra.mandeep@... wrote:

Hi,
 Try to do AND operation with value you want and variable. You can
find any value, and MSB, too.

>
> Hi All, 
> 
> I am a newbie to 5510 DSP. I am trying to write a program where in i
require an instruction to find the first '1' from MSB in a value. In
6482 DSp, there's an instruction called LMBD(Left Most Bit Detection)
which does the job but not in 5510 DSP. 
> Any ideas please??
>



(You need to be a member of c55x -- send a blank email to c55x-subscribe@yahoogroups.com )