dsp56800 Freescale Semiconductor, Inc, dsp56800 Datasheet - Page 138

no-image

dsp56800

Manufacturer Part Number
dsp56800
Description
16-bit Digital Signal Controllers
Manufacturer
Freescale Semiconductor, Inc
Datasheet
Instruction Set Introduction
6.4
The instruction set is divided into the following groups:
Each instruction group is described in the following subsections. In addition, Section 6.6.4, “Instruction
Summary Tables,” includes a useful summary for every instruction and the addressing modes and operand
registers allowed for each instruction. Detailed information on each instruction is given in Appendix A,
“Instruction Set Details.”
6.4.1
The arithmetic instructions perform all of the arithmetic operations within the data ALU. They may affect
a subset or all of the condition code register bits. Arithmetic instructions are typically register based
(register-direct addressing modes are used for operands) so that the data ALU operation indicated by the
instruction does not use the CGDB or the XDB2, although some instructions can also operate on
immediate data or operands in memory.
Optional data transfers (parallel moves) may be specified with many arithmetic instructions. This allows
for parallel data movement over the CGDB and over the XDB2 during a data ALU operation. This allows
new data to be pre-fetched for use in following instructions and results calculated by previous instructions
to be stored. Arithmetic instructions typically execute in one instruction cycle, although some of the
operations may take additional cycles with different operand addressing modes. The arithmetic
instructions are the only class of instructions that allow parallel moves.
In addition to the arithmetic shifts presented here, other types of shifts are also available in the logical
instruction group. See Section 6.4.2, “Logical Instructions.” Table 6-3 lists the arithmetic instructions.
6-6
Arithmetic
Logical
Bit manipulation
Looping
Move
Program control
Instruction Groups
Arithmetic Instructions
Instruction
ASRAC
ASRR
ASLL
ADC
ADD
ABS
ASR
ASL
Table 6-3. Arithmetic Instructions List
DSP56800 Family Manual
Arithmetic multi-bit shift right with accumulate
Arithmetic multi-bit shift right
Arithmetic multi-bit shift left
Arithmetic shift right (36-bit)
Arithmetic shift left (36-bit)
Add long with carry
Absolute value
Description
Add
1
1
1
Freescale Semiconductor
1

Related parts for dsp56800