Motorola DSP Developer's Kit
min-2c.asm
Motorola DSP Developer's Kit
min-2c.asm
Motorola DSP Developer's Kit    
min-2c.asm

MATLAB Usage

Description

This function returns the smallest elements taken from complex vector X or Y

Input/Output

Input: Complex Vector X (include real part Xr and imaginary part Xi), Complex Vector Y (include real part Yr and imaginary part Yi)

Output: Complex Vector X (include real part Xr and imaginary part Xi)

Algorithm

Memory & Register

Start address of Vector X is in P:$F000

Start address of Vector Y is in P:$F001

Start address of result Vector is also in P:$F000

Register R7 store Number of items in the array

Status Register

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

Data Size Limit

The total size of all vectors can't be larger than the continuous available data memory size.

Data Range Limit

Input data vector range [-1.0, +1.0]

Precision

In the case of DSP563, precision is 23 bits.

In the case of DSP566, precision is 15 bits.


 min-2r.asm round-r.asm