dsp56800e Freescale Semiconductor, Inc, dsp56800e Datasheet - Page 23

no-image

dsp56800e

Manufacturer Part Number
dsp56800e
Description
16-bit Digital Signal Controller Core
Manufacturer
Freescale Semiconductor, Inc
Datasheet
List of Examples
Example 3-1 Demonstrating Source and Destination Operands . . . . . . . . . . . . . . . . . . . . . . . 3-9
Example 3-2 Program Memory Accesses . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-11
Example 3-3 Examples of Operands in Memory . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-11
Example 3-4 Loading Accumulators with Different Data Types. . . . . . . . . . . . . . . . . . . . . . 3-13
Example 3-5 Storing Accumulators with Different Data Types . . . . . . . . . . . . . . . . . . . . . . 3-14
Example 3-6 Allocation of 2 Bytes Globally . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-17
Example 3-7 Allocation of a Character String . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-17
Example 3-8 Using the Register-Direct Addressing Mode . . . . . . . . . . . . . . . . . . . . . . . . . . 3-28
Example 3-9 Effects of Data Types on AGU Arithmetic . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-28
Example 3-10 Effects of Data Types on Address Displacements . . . . . . . . . . . . . . . . . . . . . . 3-28
Example 4-1 Logical OR with a Data Memory Location . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-11
Example 4-2 Code Fragment with Regular Branch . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-13
Example 4-3 Code Fragment with Delayed Branch. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-14
Example 4-4 Valid Instructions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-16
Example 4-5 Invalid Instruction. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-16
Example 4-6 Examples of Single Parallel Moves . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-49
Example 5-1 X0 Register Used in Operation and Loaded in Parallel . . . . . . . . . . . . . . . . . . . 5-4
Example 5-2 Accumulator A Used in Operation and Stored in Parallel . . . . . . . . . . . . . . . . . 5-5
Example 5-3 Unsigned Load of a Long Word to an Accumulator . . . . . . . . . . . . . . . . . . . . . 5-9
Example 5-4 Reading the Contents of the C2 Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-11
Example 5-5 Writing a Value into the C2 Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-11
Example 5-6 Loading an Accumulator with an Integer Word . . . . . . . . . . . . . . . . . . . . . . . . 5-12
Example 5-7 Loading an Accumulator with a Long Integer . . . . . . . . . . . . . . . . . . . . . . . . . 5-12
Example 5-8 Reading an Integer Value from an Accumulator . . . . . . . . . . . . . . . . . . . . . . . 5-12
Example 5-9 Reading a Word from an Accumulator with Saturation . . . . . . . . . . . . . . . . . . 5-12
Example 5-10 Reading a Long Value from an Accumulator with Limiting . . . . . . . . . . . . . . 5-13
Example 5-11 Converting a 36-Bit Accumulator to a 16-Bit Value . . . . . . . . . . . . . . . . . . . . 5-13
Example 5-12 Saving and Restoring an Accumulator—Word Accesses. . . . . . . . . . . . . . . . . 5-13
Example 5-13 Saving and Restoring an Accumulator—Long Accesses . . . . . . . . . . . . . . . . . 5-14
Example 5-14 Bit Manipulation on a DSP56800E Accumulator. . . . . . . . . . . . . . . . . . . . . . . 5-14
Example 5-15 Signed Division with Remainder . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-22
Example 5-16 Unsigned Division with Remainder . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-23
Freescale Semiconductor
List of Examples
xxiii

Related parts for dsp56800e