摘要
为了解决构件化飞行控制软件开发过程中的汇编语言构件和C语言构件交互难题,提出了基于嵌入式构件编程语言融合的解决方案。对飞行控制软件的构件进行分析,指出根据功能需求选择适合的编程语言,并在此构件语言规则的基础上建立了语言融合框架。结合ADSP21系列芯片上的实际情况,采用C语言体系结构框架调用汇编构件的方案,能很好地保证不同语言构件之间的交互,达到提高软件执行效率的最终目的。通过C语言主程序调用汇编语言和C语言单精度矩阵乘法构件作对比分析,验证汇编语言构件的高效性,以及该语言融合方案的稳定性和正确性。
In order to solve problem of the component flight control software development in the process of assembly component language and C component language interaction problem, a scheme based on embedded component programming language integration is presented. Firstly, flight control software components are analyzed and according to the functional requirements pro gramming language is selected. Based on the component linguistic rules, the component language integration framework is estab lished. Then, Combining the actual situation on the ADSP21 series chip, C language system structure frame called assembly member programs is used to keep good assurance software stability and efficiency, and improve the efficiency of software implementation. Eventually by comparing C main language program the assembly language with C language matrix multiplication component, the result show the assembly language component efficiency, the language combination schemes stability and correctness.
出处
《计算机工程与设计》
CSCD
北大核心
2012年第11期4138-4141,4181,共5页
Computer Engineering and Design