dsp56800e Freescale Semiconductor, Inc, dsp56800e Datasheet - Page 478

no-image

dsp56800e

Manufacturer Part Number
dsp56800e
Description
16-bit Digital Signal Controller Core
Manufacturer
Freescale Semiconductor, Inc
Datasheet
EOR.L
Operation:
S ⊕ D→ D (no parallel move)
S ⊕ D → D (one parallel move)
where ⊕ denotes the logical exclusive OR operator
Description: Perform a logical exclusive OR operation on the source operand with the destination operand, and store
Usage:
Example:
Explanation of Example:
Condition Codes Affected:
A-134
Before Execution
B2
5
the result in the destination. This instruction is a 32-bit operation. If the destination is a 36-bit accumu-
lator, the exclusive OR operation is performed on the source with bits 31–0 of the accumulator. The
remaining bits of the destination accumulator are not affected. If the source is a 16-bit register, the
EOR.L operation is performed on the source and bits 31–16 of the destination. The other bits of the
destination remain unchanged. The result is not affected by the state of the saturation bit (SA).
This instruction is used for the logical exclusive OR of two registers. If an exclusive OR of a 16-bit
immediate value with a register or memory location is desired, the EORC instruction is appropriate.
EOR.L
Prior to execution, the 32-bit Y register contains the value $FF00:FF00, and the 36-bit B accumulator
contains the value $5:5555:CC89. The EOR.L Y,B instruction performs a logical exclusive OR op-
eration on the 32-bit value in the Y register with bits 31–0 of the B accumulator (B10) and stores the
36-bit result in the B accumulator. The the extension portion (B2) is not affected by the operation.
N
Z
V
LF
15
— Set if bit 31 of accumulator result or the MSB of the register result is set
— Set if bits 31–0 of accumulator result or all bits of the register result are zero
— Always cleared
FF00
5555
P4
14
B1
Y1
Y,B
13
P3
SR
P2
12
MR
Logical Exclusive OR Long
DSP56800E Core Reference Manual
P1
11
CC89
FF00
030F
B0
Y0
P0
10
;Exclusive OR of Y with B10
I1
9
Assembler Syntax:
EOR.L
EOR.L
I0
8
SZ
7
After Execution
6
L
B2
5
5
E
FFF,fff (no parallel move)
C,F
U
4
CCR
AA55
FF00
B1
Y1
N
3
(one parallel move)
SR
2
Z
Freescale Semiconductor
V
1
FF00
3389
0309
C
0
B0
Y0
EOR.L

Related parts for dsp56800e