dsp56800 Freescale Semiconductor, Inc, dsp56800 Datasheet - Page 139

no-image

dsp56800

Manufacturer Part Number
dsp56800
Description
16-bit Digital Signal Controllers
Manufacturer
Freescale Semiconductor, Inc
Datasheet
6.4.2
The logical instructions perform all of the logical operations within the data ALU. They also affect the
condition code register bits. Logical instructions are register based. So are the arithmetic instructions in
Table 6-3, and, again, some can also operate on operands in memory. Optional data transfers are not
permitted with logical instructions. These instructions execute in one instruction cycle.
Table 6-4 lists the logical instructions.
Freescale Semiconductor
Logical Instructions
IMPY (or IMPY16)
1.
DEC (or DECW)
INC (or INCW)
Instruction
These instructions do not allow parallel data moves.
MACSU
MPYSU
NORM
MACR
MPYR
TSTW
MAC
CMP
MPY
NEG
RND
CLR
SUB
SBC
TFR
DIV
TST
Tcc
Table 6-3. Arithmetic Instructions List (Continued)
Instruction Set Introduction
Transfer data ALU register to an accumulator
Test a 16-bit register or memory location
Signed multiply-accumulate and round
Signed/unsigned multiply-accumulate
Decrement upper word of accumulator
Increment upper word of accumulator
Signed multiply-accumulate
Signed multiply and round
Signed/unsigned multiply
Test a 36-bit accumulator
Subtract long with carry
Transfer conditionally
Integer multiply
Divide iteration
Signed multiply
Description
Normalize
Compare
Subtract
Negate
Round
Clear
1
1
1
1
1
1
1
1
Instruction Groups
6-7

Related parts for dsp56800