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

📄 cprogram.asm

📁 ICETEK-VC5509-A 实验1.4 汇编和C语言混合DSP程序
💻 ASM
字号:
;*******************************************************************************
;* TMS320C55x C/C++ Codegen                                    PC Version 2.56 *
;* Date/Time created: Fri Jun 17 16:01:05 2005                                 *
;*******************************************************************************
	.mmregs
	.cpl_on
	.arms_on
	.c54cm_off
	.asg AR6, FP
	.asg XAR6, XFP
	.asg DPH, MDP
	.model call=c55_std
	.model mem=large
	.noremark 5549  ; code avoids SE CPU_28
	.noremark 5558  ; code avoids SE CPU_33
	.noremark 5570  ; code avoids SE CPU_40
	.noremark 5571  ; code avoids SE CPU_41
	.noremark 5573  ; code avoids SE CPU_43
	.noremark 5584  ; code avoids SE CPU_47
	.noremark 5599  ; code avoids SE CPU_55
	.noremark 5503  ; code avoids SE CPU_84 MMR write
	.noremark 5505  ; code avoids SE CPU_84 MMR read
	.noremark 5673  ; code avoids SE CPU_89
	.noremark 5002  ; code respects overwrite rules
;*******************************************************************************
;* GLOBAL FILE PARAMETERS                                                      *
;*                                                                             *
;*   Architecture       : TMS320C55x                                           *
;*   Optimization       : Always Choose Smaller Code Size                      *
;*   Memory             : Large Model (23-Bit Data Pointers)                   *
;*   Calls              : Normal Library ASM calls                             *
;*   Debug Info         : Standard TI Debug Information                        *
;*******************************************************************************
	.file	"CProgram.c"
	.global	_x
	.bss	_x,1,0,0
	.sym	_x,_x, 4, 2, 16
	.global	_y
	.bss	_y,1,0,0
	.sym	_y,_y, 4, 2, 16
	.global	_z
	.bss	_z,1,0,0
	.sym	_z,_z, 4, 2, 16
;	c:\ti5000\c5500\cgtools\bin\acp55.exe -@C:\DOCUME~1\ZHAOQI~1\LOCALS~1\Temp\TI5556_4 

	.sect	".text"
	.align 4
	.global	_main
	.sym	_main,_main, 36, 2, 0
	.func	4
;*******************************************************************************
;* FUNCTION NAME: _main                                                        *
;*                                                                             *
;*   Function Uses Regs : AR1,SP,CARRY,M40,SATA,SATD,RDM,FRCT,SMUL             *
;*   Stack Frame        : Compact (No Frame Pointer, w/ debug)                 *
;*   Total Frame Size   : 1 word                                               *
;*                        (1 return address/alignment)                         *
;*******************************************************************************
_main:
	.line	2
	.line	3
        MOV #17, *(#_y) ; |6| 
        MOV #3, *(#_x) ; |6| 
	.line	4
L1:    
	.line	6
        MOV *(#_y), AR1 ; |9| 
        ADD *(#_x), AR1, AR1 ; |9| 
        MOV AR1, *(#_z) ; |9| 
	.line	7
        B L1      ; |10| 
                                        ; branch occurs	; |10| 
	.endfunc	11,000000000h,0



;*******************************************************************************
;* TYPE INFORMATION                                                            *
;*******************************************************************************

⌨️ 快捷键说明

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