首页 | 本学科首页   官方微博 | 高级检索  
     

Keil C51中C51程序与汇编程序的接口方法
引用本文:张玉峰,荀建军.Keil C51中C51程序与汇编程序的接口方法[J].现代电子技术,2006,29(24):58-60.
作者姓名:张玉峰  荀建军
作者单位:西安通信学院,陕西,西安,710106
摘    要:C语言程序与汇编语言程序的相互调用可视为函数的调用,只不过此函数是采用不同语言编写。在C和汇编程序的相互调用中,要求汇编程序必须服从Keil C51中对函数名的转换规则,同时也要弄清C函数的参数传递规则,通过实例详细介绍Keil C51中C51程序与汇编程序相互调用以及汇编程序与C51程序相互调用时的接口建立方法,并给出在不同的应用中对接口进行简化的方法。

关 键 词:KeilC51  C51函数  参数传递  汇编函数  接口
文章编号:1004-373X(2006)24-058-03
修稿时间:2006年7月26日

Interface Method of C51 in Keli C51 and Assembler
ZHANG Yufeng,XUN Jianjun.Interface Method of C51 in Keli C51 and Assembler[J].Modern Electronic Technique,2006,29(24):58-60.
Authors:ZHANG Yufeng  XUN Jianjun
Abstract:The interactive transfer of C Language Program and Assembly Language Program could be regarded as functional transfer.In interactive transfer of C and assembler,it is required that assembler should obey the transfer rule of function name in Keli C51.Meanwhile,it is also required to understand parameter transfer rule of C function.With actual examples,this paper explains the interface method of interactive transfer between Keli C51 abd assembler,between assembler and C51,and the simplification method for interfaces in various applications.
Keywords:Keli C51  C51 function  parameter transfer  assemble function  interface  
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号