⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 test.asm

📁 ti的c54系列的算法包 移植时可能会有帮助
💻 ASM
字号:
;***************************************************************
;* TMS320C54x ANSI C Codegen         Version 1.10              *
;* Date/Time created: Sat Jun 12 16:22:05 1999                 *
;***************************************************************
	.mmregs
FP	.set	AR7
;	D:\DSP\EXEC\ASM\ac500.exe test C:\WINDOWS\TEMP\test.if 
	.file	"test.c"
	.file	"..\include\TMS320.H"
	.sym	_uint,0,14,13,16
	.sym	_ushort,0,13,13,16
	.sym	_DATA,0,3,13,16
	.sym	_LDATA,0,5,13,32
	.file	"..\include\c54fft.h"
	.global	_cbrev
	.global	_cfft8
	.global	_cfft16
	.global	_cfft32
	.global	_cfft64
	.global	_cfft128
	.global	_cfft256
	.global	_cfft512
	.global	_cfft1024
	.global	_cifft8
	.global	_cifft16
	.global	_cifft32
	.global	_cifft64
	.global	_cifft128
	.global	_cifft256
	.global	_cifft512
	.global	_cifft1024
	.global	_rfft16
	.global	_rfft32
	.global	_rfft64
	.global	_rfft128
	.global	_rfft256
	.global	_rfft512
	.global	_rfft1024
	.global	_rifft16
	.global	_rifft32
	.global	_rifft64
	.global	_rifft128
	.global	_rifft256
	.global	_rifft512
	.global	_rifft1024
	.file	"test.dat"

	.sect	".cinit"
	.align	1
	.field	IR1,16
	.field	_x+0,16
	.field	0,16		; _x[0] @ 0
	.field	1,16		; _x[1] @ 16
	.field	4098,16		; _x[2] @ 32
	.field	4099,16		; _x[3] @ 48
	.field	8196,16		; _x[4] @ 64
	.field	8197,16		; _x[5] @ 80
	.field	12294,16		; _x[6] @ 96
	.field	12295,16		; _x[7] @ 112
	.field	16392,16		; _x[8] @ 128
	.field	16393,16		; _x[9] @ 144
	.field	20490,16		; _x[10] @ 160
	.field	20491,16		; _x[11] @ 176
	.field	24588,16		; _x[12] @ 192
	.field	24589,16		; _x[13] @ 208
	.field	28686,16		; _x[14] @ 224
	.field	28687,16		; _x[15] @ 240
	.field	-32752,16		; _x[16] @ 256
	.field	-32751,16		; _x[17] @ 272
	.field	-28654,16		; _x[18] @ 288
	.field	-28653,16		; _x[19] @ 304
	.field	-24556,16		; _x[20] @ 320
	.field	-24555,16		; _x[21] @ 336
	.field	-20458,16		; _x[22] @ 352
	.field	-20457,16		; _x[23] @ 368
	.field	-16360,16		; _x[24] @ 384
	.field	-16359,16		; _x[25] @ 400
	.field	-12262,16		; _x[26] @ 416
	.field	-12261,16		; _x[27] @ 432
	.field	-8164,16		; _x[28] @ 448
	.field	-8163,16		; _x[29] @ 464
	.field	-4066,16		; _x[30] @ 480
	.field	-4065,16		; _x[31] @ 496
IR1:	.set	32

	.sect	".text"
	.global	_x
	.bss	_x,32,0,0
	.sym	_x,_x,51,2,512,,32
	.global	_y
	.file	"test.c"
	.global	_main
	.sym	_main,_main,32,2,0
	.func	4

;***************************************************************
;* FUNCTION DEF: _main                                         *
;***************************************************************
_main:
         FRAME     #-3
	 nop
	.line	4
         ST        #8,*SP(1)
         ST        #_y,*SP(0)
         LD        #_x,A
         CALL      #_cbrev
         ; call occurs [#_cbrev]
	.line	5
         ST        #16,*SP(1)
         ST        #_y,*SP(0)
         LD        #_x,A
         CALL      #_cbrev
         ; call occurs [#_cbrev]
	 nop
	 nop
L2:
	.line	7
         B         L2
         ; branch occurs
	.line	9
	.endfunc	12,000000000h,3


	.global	_y
	.bss	_y,32,0,0
	.sym	_y,_y,51,2,512,,32

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -