dsp56800e Freescale Semiconductor, Inc, dsp56800e Datasheet - Page 102

no-image

dsp56800e

Manufacturer Part Number
dsp56800e
Description
16-bit Digital Signal Controller Core
Manufacturer
Freescale Semiconductor, Inc
Datasheet
Instruction Set Introduction
4.1.4
The instructions in this group perform Boolean logic operations. Optional data transfers are not permitted
with logical instructions, except with the EOR.L instruction, which permits a single parallel move. These
instructions execute in 1 cycle.
Table 4-4 lists the logical instructions.
4.1.5
These instructions perform all of the address-calculation arithmetic operations within the address
generation unit. AGU arithmetic instructions typically use AGU registers for operands, although some
instructions can operate on immediate data. Only the CMPA, CMPA.W, DECTSTA, TSTA.B, TSTA.W,
TSTA.L, and TSTDECA.W instructions modify the condition code register bits.
No optional data transfers (parallel moves) can be specified with the AGU arithmetic instructions.
Arithmetic instructions typically execute in 1 instruction cycle, although some of the operations may take
additional cycles depending on the operand addressing mode.
Table 4-5 on page 4-7 lists the AGU arithmetic instructions.
4-6
1.Note that ANDC, EORC, ORC, and NOTC are not true instructions, but are aliases to bit-manipulation in-
structions that perform the same function. See Section 4.2.1, “The ANDC, EORC, ORC, and NOTC Aliases,”
for more information.
Instruction
AND.W
EOR.W
NOT.W
AND.L
EOR.L
EORC
ANDC
NOTC
OR.W
OR.L
ORC
CLB
Logical Instructions
AGU Arithmetic Instructions
1
Parallel
Move?
Yes
DSP56800E Core Reference Manual
Table 4-4. Logical Instructions
Logical AND on long registers
Logical AND on word registers
Logical AND immediate data on word in memory
Count leading zeros or ones
Logical exclusive OR on long registers
Logical exclusive OR on word registers
Logical exclusive OR immediate data on word in memory
Logical complement on word registers
Logical complement on word in memory
Logical OR on long registers
Logical OR on word registers
Logical OR immediate data on word in memory
Description
Freescale Semiconductor

Related parts for dsp56800e