beautypg.com

Bitwise not not – Texas Instruments TMS320C67X/C67X+ DSP User Manual

Page 254

background image

NOT

Bitwise NOT

3-194

Instruction Set

SPRU733

Bitwise NOT

NOT

Syntax

NOT (.unit) src2, dst

.unit = .L1, .L2, .S1, .S2

Compatibility

C62x, C64x, C67x, and C67x+ CPU

Opcode

.L unit

31

29

28

27

23

22

18

17

13

12

11

5 4 3 2 1 0

creg

z

dst

src2

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

3

1

5

5

1

1 1

Opcode map field used...

For operand type...

Unit

src2
dst

xuint
uint

.L1, .L2

Opcode

.S unit

31

29

28

27

23

22

18

17

13

12

11

6 5 4 3 2 1 0

creg

z

dst

src2

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

3

1

5

5

5

1

1 1

Opcode map field used...

For operand type...

Unit

src2
dst

xuint
uint

.S1, .S2

Description

The NOT pseudo-operation performs a bitwise NOT on the src2 operand and
places the result in dst. The assembler uses XOR (.unit) −1, src2, dst to
perform this operation.

Execution

if (cond) −1 XOR src2 dst

else nop

Instruction Type

Single-cycle

Delay Slots

0