📄 cfft32z.lst
字号:
TMS320C2000 COFF Assembler PC Version 3.06 Fri Nov 07 10:50:04 2003
Tools Copyright (c) 1996-2002 Texas Instruments Incorporated
cfft32z.asm PAGE 1
1 ;============================================================================
2 ;
3 ; File Name : cfft_izc.asm
4 ;
5 ; Originator : Advanced Embeeded Control
6 ; Texas Instruments
7 ;
8 ; Description : This file contains source code to zero the imaginary parts of
9 ; the complex input to the FFT module.
10 ;
11 ; Date : 25/2/2002 (dd/mm/yyyy)
12 ;===========================================================================
13 ; Routine Type : C Callable
14 ;
15 ; Description :
16 ; void FFTC_izc(FFTxxxC_handle)
17 ; This function zeros the imaginary part of the complex input, in the case of
18 ; Complex FFT modules.
19 ;
20 ;======================================================================
21 ; COMPLEX FFT MODULES
22 ;----------------------------------------------------------------------
23 ;typedef struct {
24 ; long *ipcbptr;
25 ; long *tfptr
26 ; int size;
27 ; int nrstage;
28 ; int *magptr;
29 ; int peakmag;
30 ; int peakfrq;
31 ; int normflag;
32 ; int *winptr;
33 ; void (*init)(void);
34 ; void (*izero)(void *);
35 ; void (*calc)(void *);
36 ; void (*mag)(void *);
37 ; void (*win)(void *);
38 ; }CFFT32;
39 ;======================================================================
40 ;======================================================================
41 .def _CFFT32_izero
42
43 00000000 _CFFT32_izero:
44 ; Fill the imaginary part of the samples with ZERO
45 00000000 83C4 MOVL XAR5,*XAR4 ; XAR5=ipcbptr
46 00000001 85E4 MOV ACC,*+XAR4[4] ; ACC=size
47 00000002 1901 SUBB ACC,#1 ; AL=size-1
48
49 00000003 C4A5 MOVL XAR6,XAR5 ; XAR6=ipcbptr
50
51 00000004 DD02 ADDB XAR5,#2 ; XAR5=ipcbptr+2
52 00000005 DE03 ADDB XAR6,#3 ; XAR5=ipcbptr+3
53 00000006 D004 MOVB XAR0,#4 ; XAR0=0
54
55 00000007 77B5 NOP *,ARP5
TMS320C2000 COFF Assembler PC Version 3.06 Fri Nov 07 10:50:04 2003
Tools Copyright (c) 1996-2002 Texas Instruments Incorporated
cfft32z.asm PAGE 2
56 00000008 F7A9 RPT AL
57 00000009 2BBB || MOV *0++,#0 ; Clear MSW of imaginary part
58
59 0000000a 77B6 NOP *,ARP6
60 0000000b F7A9 RPT AL
61 0000000c 2BBB || MOV *0++,#0 ; Clear LSW of imaginart part
62
63 0000000d 0006 LRETR
64
65
66
No Assembly Errors, No Assembly Warnings
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -