/* This C language subroutine computes an 32-point floating point complex (forward or inverse) Fast Fourier Transform (FFT) of its input. The Run Time Library for the C Language. Gordon A. Sterling (617) 461 - 3076 DSP Development Tools Engineering Created on 6/24/90 Updated on 5/94 by AS #include
float *cfft32(float real_out[], float imag_out[], \ float real_in[], float imag_in[]); float *ifft32(float real_out[], float imag_out[], \ float real_in[], float imag_in[]); */ #include "lib_glob.h" #include "trn_glob.h" .SEGMENT/CODE Code_Space_Name; .FILE RTL_FILENAME; .EXTERN ____cfftcore, ____ifftcore, ____rfftcore; .GLOBAL _cfft32, _ifft32, _rfft32; _ifft32: JUMP (PC, ____ifftcore) (DB); /*Jump to core routine*/ dm_ptr=32; /*Pass length of fft*/ dm_lnt=twids; /*Point to twiddle factors*/ _cfft32: JUMP (PC, ____cfftcore) (DB); /*Jump to core forward fft*/ dm_ptr=32; /*Pass length of fft*/ dm_lnt=twids; /*Point to twiddle factos*/ _rfft32: JUMP (PC, ____rfftcore) (DB); dm_ptr=32; dm_lnt=twids; .ENDSEG; .SEGMENT/PMDATA PMData_Space_Name; #include "t32.h" .ENDSEG;