Motorola DSP Developer's Kit
round-c.asm
Motorola DSP Developer's Kit
round-c.asm
Motorola DSP Developer's Kit    
round-c.asm

MATLAB Usage

Description

This function rounds the elements of complex input vector X to the nearest integer

Input/Output

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

Output: Xr, Xi

Algorithm

Memory & Register:

Memory allocations:

X memory:

Y memory

Register usage:

Status Register

The assembly function round-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.


 round-r.asm sort-r1.asm