浅谈C程序中调用汇编模块的方法(Talking about the method of calling assembly module in C program).docVIP

  • 3
  • 0
  • 约7.67千字
  • 约 8页
  • 2017-08-03 发布于河南
  • 举报

浅谈C程序中调用汇编模块的方法(Talking about the method of calling assembly module in C program).doc

浅谈C程序中调用汇编模块的方法(Talking about the method of calling assembly module in C program) Talking about the method of calling assembly module in C program Yang Huiying Shao Zhufu (1. Northeast Dianli University, Jilin 132002; 2., Beihua University, Jilin, Jilin 132021) Abstract: C language and assembly language has its own characteristics, write the control software of hardware interface circuit in the project, should be based on the need to adopt the method of C and assembly language mixed programming, such advantages can play to their respective advantages, not only to meet the needs of practical problems, and will make the programming is simple and fast, improve the efficiency of programming and program quality. Key words: C language; assembly language; mixed programming; hardware interface CLC number: I728.8 document code: A article number:(2003)C language is a programming language which is now very popular, has the advantages of convenient and flexible language, strong data processing capability, such as the use of simple programming, can achieve most of the functions such as assembly language, can operate directly on the hardware, the target code generated by the high quality and execution speed etc.. Therefore, in engineering, the speed of hardware processing is not very high, we can basically use C instead of assembly language, and write the control software of the interface circuit. But C also can not completely replace the assembly language, such as real-time control system in some of the requirements of high speed, and the special control of the hardware, C sometimes does not do well, but also need to write assembly language. Because the assembly language code more concise, directly on the hardware control ability is stronger and faster, but the expression of assembly language programming, rare ability also obviously. A better solution is mixed C and assembly language programming, the control part is the software scheduler, using C user interf

您可能关注的文档

文档评论(0)

1亿VIP精品文档

相关文档