beautypg.com

Texas Instruments TMS320C67X/C67X+ DSP User Manual

Page 202

background image

LMBD

Leftmost Bit Detection

3-142

Instruction Set

SPRU733

Execution

if (cond)

{

if (src1

0

==

0) lmb0(src2)

dst

if (src1

0

==

1) lmb1(src2)

dst

}

else nop

Pipeline
Stage

E1

Read

src1, src2

Written

dst

Unit in use

.L

Instruction Type

Single-cycle

Delay Slots

0

Example

LMBD .L1

A1,A2,A3

Before instruction

1 cycle after instruction

A1 0000 0001h

A1 0000 0001h

A2 009E 3A81h

A2 009E 3A81h

A3 xxxx xxxxh

A3 0000 0008h

Pipeline