Texas Instruments TMS320C67X/C67X+ DSP User Manual

Page 272

Advertising
background image

SET

Set a Bit Field

3-212

Instruction Set

SPRU733

Example 1

SET .S1

A0,7,21,A1

Before instruction

1 cycle after instruction

A0 4B13 4A1Eh

A0 4B13 4A1Eh

A1 xxxx xxxxh

A1 4B3F FF9Eh

Example 2

SET .S2

B0,B1,B2

Before instruction

1 cycle after instruction

B0 9ED3 1A31h

B0 9ED3 1A31h

B1 0000 C197h

B1 0000 C197h

B2 xxxx xxxxh

B2 9EFF FA31h

Advertising