beautypg.com

Set a bit field set, Opcode register form – Texas Instruments TMS320C67X/C67X+ DSP User Manual

Page 270

background image

SET

Set a Bit Field

3-210

Instruction Set

SPRU733

Set a Bit Field

SET

Syntax

SET (.unit) src2, csta, cstb, dst
or
SET (.unit) src2, src1, dst

.unit = .S1 or .S2

Compatibility

C62x, C64x, C67x, and C67x+ CPU

Opcode

Constant form:

31

29

28

27

23

22

18

17

13

12

8

7

6

5

4

3

2

1

0

creg

z

dst

src2

csta

cstb

1 0 0 0 1 0 s p

3

1

5

5

5

5

1

1

Opcode map field used...

For operand type...

Unit

src2
csta
cstb
dst

uint
ucst5
ucst5
uint

.S1, .S2

Opcode

Register form:

31

29

28

27

23

22

18

17

13

12

11

6

5

4

3

2

1

0

creg

z

dst

src2

src1

x 1 1 1 0 1 1 1 0 0 0 s p

3

1

5

5

5

1

1

1

Opcode map field used...

For operand type...

Unit

src2
src1
dst

xuint
uint
uint

.S1, .S2