OR

OR

Bitwise Inclusive OR (DALU)

Operation

Assembler Syntax

Da ⏐ Dn → Dn

OR Da,Dn

OR

Description

OR Da,Dn

Performs a bitwise inclusive OR of two data registers (Da and Dn) and stores the result in the second data register (Dn). This is a full 40-bit operation.

Status and Conditions that Affect Instruction

None.

Status and Conditions Changed by Instruction

Register Address

Bit Name

Description

Ln

L

Clears the Ln bit in the destination registers.

Example or d3,d0

Register/Memory Address

 

Before

D3

 

 

 

 

 

$E0 0007 0005

L0:D0

 

 

 

 

 

$0:$50 0003 0008

1110

---- 0111

---- 0101

or 0101 ---- 0011 ---- 1000

1111

---- 0111

---- 1111

After

$0:$F0 0007 000F

Instruction Formats and Opcodes

Instruction

Words

Cycles

Type

OR Da,Dn

1

1

2

Opcode

158 70

1 1 0 1 1 1 F F F 0 0 1 1 J J J

Instruction Fields

Da

JJJ

 

Single Source Data Register

 

 

 

 

000

D0

010

D2

100

D4

110

D6

 

 

 

 

 

 

 

 

 

 

001

D1

011

D3

101

D5

111

D7

 

 

 

 

 

 

 

 

Note:

This instruction

can specify D8-D15 as operands by using a prefix.

 

 

A-340

SC140 DSP Core Reference Manual

Page 654
Image 654
Freescale Semiconductor SC140 specifications Bitwise Inclusive or Dalu, Example or d3,d0, Da Dn → Dn, Or Da,Dn