Extract and Zero-Extend a Bit Field

EXTU

 

 

 

 

Extract and Zero-Extend a Bit Field

 

 

 

 

 

 

 

 

 

 

EXTU

 

 

 

 

 

 

 

 

 

 

 

 

 

Syntax

 

 

 

 

EXTU (.unit) src2, csta, cstb, dst

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

or

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

EXTU (.unit) src2, src1, dst

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

.unit = .S1 or .S2

 

 

 

 

 

 

 

 

 

 

 

 

 

Compatibility

 

 

C62x, C64x, C67x, and C67x+ CPU

 

 

 

 

 

 

 

 

 

 

Opcode

 

 

 

Constant width and offset 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

0 0 0

0 1 0 s p

3 155551 1

Opcode map field used...

For operand type...

Unit

 

 

 

src2

uint

.S1, .S2

csta

ucst5

 

cstb

ucst5

 

dst

uint

 

 

 

 

Opcode

 

 

Register width and offset 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 0 1 0 1 1 1

0 0 0 s p

3 155511 1

Opcode map field used...

For operand type...

Unit

 

 

 

src2

xuint

.S1, .S2

src1

uint

 

dst

uint

 

 

 

 

SPRU733

Instruction Set

3-113

Page 173
Image 173
Texas Instruments TMS320C67X/C67X+ DSP manual Extract and Zero-Extend a Bit Field, Extu