beautypg.com

Bitwise exclusive or (dalu), Operation assembler syntax – Freescale Semiconductor StarCore SC140 User Manual

Page 479

background image

EOR

SC140 DSP Core Reference Manual

A-165

EOR

Bitwise Exclusive OR (DALU)

EOR

Description

Status and Conditions that Affect Instruction

None.

Status and Conditions Changed by Instruction

Example

eor d4,d5

B

1011

⊕3

0011

8

1000

Operation

Assembler Syntax

Da

⊕ Dn → Dn

EOR Da,Dn

EOR Da,Dn

Performs a bitwise exclusive OR between two data registers (Da and Dn) and stores the result in a
destination data register (Dn).

Register Address

Bit Name

Description

Ln

L

Clears the Ln bit in the destination register.

Register/Memory Address

Before

After

D4

$FF FFFF FFFB

L5:D5

$0:$00 0000 0003

$0:$FF FFFF FFF8