Motorola DSP Developer's Kit    
sum-c.asm

MATLAB Usage

Description

This function returns the sum of the complex input elements of X

Input/Output

Input: Complex vector X (includes the real part Xr, and the imaginary part Xi)

Output: scalar y (includes the sum of the real data of the element yr, and the sum of the imaginary data of the element yi)

Algorithm

Memory & Resister

Memory allocation:

Register usage:

Status Register

The assembly function sum-c.asm does not explicitly set any status registers/bits during the function execution.

Data Size Limit

The length of vector X can't be larger than the continuous available data memory size.

Data Range Limit

The value of input vector X must be between -1.0 and +1.0.

Precision

In the case of DSP563, precision is 23 bits.

In the case of DSP566, precision is 15 bits.

Performance Limit

DSP563:

DSP566:


 sum-r.asm xcorr-r.asm