Bitwise Exclusive OR XOR

Execution

Pipeline

if (cond) src1 XOR src2 dst else nop

Pipeline

E1

Stage

 

 

Read

src1, src2

Written

dst

Unit in use

.L or .S

 

 

Instruction Type

Single-cycle

 

 

Delay Slots

0

 

 

See Also

AND, OR

 

 

Example 1

XOR .S1

A3, A4, A5

 

 

Before instruction

1 cycle after instruction

A3

A4

A5

0721 325Ah

0019 0F12h

xxxx xxxxh

A3

A4

A5

0721 325Ah

0019 0F12h

0738 3D48h

Example 2

XOR .L2

B1, 0dh, B8

Before instruction

1 cycle after instruction

B1

B8

0000 1023h

xxxx xxxxh

B1

B8

0000 1023h

0000 102Eh

SPRU733

Instruction Set

3-271

Page 331
Image 331
Texas Instruments TMS320C67X/C67X+ DSP manual AND, or, Unit in use Or .S