Texas Instruments TMS320C67X/C67X+ DSP User Manual

Page 331

Advertising
background image

Bitwise Exclusive OR

XOR

3-271

Instruction Set

SPRU733

Execution

if (cond) src1 XOR src2

dst

else nop

Pipeline
Stage

E1

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

0721 325Ah

A3

0721 325Ah

A4

0019 0F12h

A4

0019 0F12h

A5

xxxx xxxxh

A5

0738 3D48h

Example 2

XOR .L2

B1, 0dh, B8

Before instruction

1 cycle after instruction

B1

0000 1023h

B1

0000 1023h

B8

xxxx xxxxh

B8

0000 102Eh

Pipeline

Advertising