XOR

Bitwise Exclusive OR

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Bitwise Exclusive OR

 

 

 

 

 

 

 

 

 

 

 

XOR

 

 

 

 

 

 

 

 

 

 

 

 

 

Syntax

 

 

 

 

XOR (.unit) src1, 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

3

z

1

dst

5

src2

5

src1

5

x

1

op

7

1 1 0 s p

1 1

Opcode map field used...

For operand type...

Unit

Opfield

 

 

 

 

src1

uint

.L1, .L2

110 1111

src2

xuint

 

 

dst

uint

 

 

src1

scst5

.L1, .L2

110 1110

src2

xuint

 

 

dst

uint

 

 

 

 

 

 

Opcode

 

 

 

.S unit

 

 

 

 

 

 

 

 

 

 

 

 

 

31

29

28

27

23

22

18

17

13

12

11

6

5

4

3

2

1

0

creg

3

z

1

dst

 

src2

src1

x

 

op

1

0

0

0

s

p

5

 

5

5

1

 

6

1

1

 

 

 

 

 

 

 

 

 

 

Opcode map field used...

For operand type...

Unit

 

Opfield

 

 

 

 

 

 

 

 

 

 

 

 

src1

uint

 

 

.S1, .S2

00 1011

 

 

 

src2

xuint

 

 

 

 

 

 

 

 

 

 

 

dst

uint

 

 

 

 

 

 

 

 

 

 

 

src1

scst5

 

 

.S1, .S2

00 1010

 

 

 

src2

xuint

 

 

 

 

 

 

 

 

 

 

 

dst

uint

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Description

Performs a bitwise exclusive-OR (XOR) operation between src1 and src2.

 

The result is placed in dst. The scst5 operands are sign extended to 32 bits.

3-270

Instruction Set

SPRU733

Page 330
Image 330
Texas Instruments TMS320C67X/C67X+ DSP manual Bitwise Exclusive or, Xor