摘要
为了充分发挥C语言和汇编语言各自的优势,在对TMS320C54xDSP进行软件开发时,可用两种语言混合编程。本文介绍了基于TMS320C54xDSP的C语言和汇编语言混合编程的程序设计方法,对用C语言实现DSP的中断功能进行了详细说明。最后以多尺度三次B样条小波分解算法为例说明TMS320C54xDSP混合编程的方法及步骤,并给出了C语言及汇编语言的源程序代码。
The assembly language of TMS320C54x DSP is usually conjunct with C code when the DSP projects are developed in order to make full use of the advantage of these two types of language. The approach and strategy of the mixed language programming based on TMS320C54x DSP are introduced in this paper and the DSP interrupt function based on C language is proposed in detail. The decomposition algorithm of the quadratic B spline wavelet is taken as an example to illustrate the method of mixed language programming, the C programs and the assembly language codes are also listed at the end of this paper.
出处
《微处理机》
2005年第3期52-56,共5页
Microprocessors
基金
福建省教育厅项目(JB03282)
关键词
数字信号处理器(DSP)
汇编语言
C语言
混合编程
Digital Signal Processor (DSP)
Assembly language
C language
Mixed language programming