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

MATLAB Usage

Description

This function returns a vector the same size as input vectors X and Y with the smallest elements taken from vector X or Y,

Input/Output

Input: Vector X (real data), Vector Y (real data)

Output: Vector X (smallest element taken from X or Y)

Algorithm

Memory & Register

X memory IN1 start address of location of input real vector X

Y memory IN2 start address of location of input real vector Y

X memory OUT start address of location of output real vector

Register R7 stores the number of items in the input array

Status Register

The assembly function min-2r.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

The value of input vectors 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:


 min-1c.asm min-2c.asm