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

Page 255

Advertising
background image

Bitwise OR

OR

3-195

Instruction Set

SPRU733

Bitwise OR

OR

Syntax

OR (.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

z

dst

src2

src1

x

op

1 1 0 s p

3

1

5

5

5

1

7

1 1

Opcode map field used...

For operand type...

Unit

Opfield

src1
src2
dst

uint
xuint
uint

.L1, .L2

111 1111

src1
src2
dst

scst5
xuint
uint

.L1, .L2

111 1110

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

src1

x

op

1 0 0 0 s p

3

1

5

5

5

1

6

1 1

Opcode map field used...

For operand type...

Unit

Opfield

src1
src2
dst

uint
xuint
uint

.S1, .S2

01 1011

src1
src2
dst

scst5
xuint
uint

.S1, .S2

01 1010

Description

Performs a bitwise OR operation between src1 and src2. The result is placed
in dst. The scst5 operands are sign extended to 32 bits.

Advertising