SET Set a Bit Field

Example 1

SET .S1

A0,7,21,A1

Before instruction

1 cycle after instruction

A0

A1

4B13 4A1Eh

xxxx xxxxh

A0

A1

4B13 4A1Eh

4B3F FF9Eh

Example 2

SET .S2

B0,B1,B2

Before instruction

1 cycle after instruction

B0

B1

B2

9ED3 1A31h

0000 C197h

xxxx xxxxh

B0

B1

B2

9ED3 1A31h

0000 C197h

9EFF FA31h

3-212

Instruction Set

SPRU733

Page 272
Image 272
Texas Instruments TMS320C67X/C67X+ DSP manual SET .S1