- 3
- 0
- 约7.67千字
- 约 8页
- 2017-08-03 发布于河南
- 举报
浅谈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
您可能关注的文档
- 新《企业所得税法》解读广告费和业务宣传费扣除标准由繁变简(The new enterprise income tax law reads advertising fees and business publicity fees deducted from the complex standards changed.).doc
- 新《企业所得税法》变化解读(Interpretation of new enterprise income tax law change).doc
- 新linux c程序中获取shell脚本输出(Get the shell script output in the new linux c program).doc
- 新奥拓的磨合(The new Alto running).doc
- 新奥法是一种把设计、施工、监测相结合的科学的隧道建造方法。(NATM is a scientific method of tunnel construction combining design, construction and monitoring.).doc
- 新版中日交流标准日本语·学习攻略§+第一单元小结(The new Sino Japanese standard, learning strategy, the first unit + summary).doc
- 新标准日语二级(N2)自动词与他动词列表(全-共45个)(New standard Japanese two (N2) automatic words and their verbs list (all - 45)).doc
- 新标准小学一年级上册英语句型练习-兔笨笨英语网(The new standard of the first grade primary school English drills on rabbit stupid English Network).doc
- 新材料在建筑节能中的应用及质量问题探析(Application and quality analysis of new material in building energy saving).doc
- 新产品的概念与特点(Concept and characteristics of new product).doc
原创力文档

文档评论(0)