登录
首页 » c » 函数调用法

函数调用法

于 2023-03-28 发布 文件大小:2.20 kB
0 49
下载积分: 2 下载次数: 1

代码说明:

14.9 函数调用  函数设计的基本原则是使其函数体尽量的小。这样编译器可以对函数做更多的优化。  14.9.1 减少函数调用开销  ARM上的函数调用开销比非RISC体系结构上的调用开销小:  · 调用返回指令“BL”或“MOV pc,lr”一般只需要6个指令周期(ARM7上)。  · 在函数的入口和出口使用多寄存器加载/存储指令LDM和STM(Thumb指令使用PUSH和POP)提高函数体的执行效率。  ARM体系结构过程调用标准AAPCS定义了如何通过寄存器传递参数和返回值。函数中的前4个整型参数是通过ARM的前4个寄存器r0、r1、r2和r3来传递的。传递参数可以是与整型兼容的数据类型,如字符类型char、半字类型short等。 请点击左侧文件开始预览 !预览只提供20%的代码片段,完整代码需下载后查看 加载中 侵权举报

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • Shareaza_2.4.0.0_Source
    说明:  Shareaza的最新开源代码。一款在国外评价极高并且相当流行的P2P软件(简称Raza),它集合了eDonkey、Guntella(1和2)和BT四种流行P2P网络类型,并可以用于Http下载,该版本中加入了FTP下载,由于其优秀的界面(支持换肤)、简洁的操作以及极强的可制定性,所以在国外广为流传,其评价已跃居所有P2P软件的前5之列,并且许多P2P的下载站点已将其指定为BT的官方下载工具!(Shareaza s latest open-source code. A very high rating in foreign countries and has been reasonably popular P2P software (Raza), it combines the eDonkey, Guntella (1 and 2) and BT four popular P2P network type, and can be used to Http download, this version added FTP download, because of its excellent interface (skin support), simple operation and can develop very strong, so popular in foreign countries, and its evaluation of all the P2P software has leapt to the top 5 list, and many of the P2P download sites have been designated as the official BT download tool!)
    2008-11-30 14:04:01下载
    积分:1
  • ADC121S705DRIVER
    12位ADC121S705DRIVER 大家互相学习
    2011-04-25 12:32:54下载
    积分:1
  • Desktop
    改进平方根 MATLAB 比用教程 数值分析里的方法(no)
    2010-11-09 10:35:59下载
    积分:1
  • 阻塞率
    说明:  呼叫阻塞率的计算和仿真:在时间轴上考虑。无论阻塞与否,下一呼叫到达时刻为当前呼叫到达时刻加上服从参数为1/λ的指数分布的呼叫间隔时间。一个呼叫到达时只需要判断呼叫的到达时刻和各个信道服务完成时刻的先后:如果前者比后者中任意一个大,说明至少有一个信道服务完成时刻比此呼叫到达时刻早,即此信道空闲,此时呼叫成功,应该先把此信道下一个服务完成时刻置为当前呼叫到达时刻,再加上服从参数为μ的指数分布的服务时间;反之,如果前者比后者中全部都小,说明所有信道在此呼叫到达后才会结束服务,即当前忙,此呼叫被阻塞掉了(call blocking probability calculation and simulation : the time frame to consider. Whether or not blocked, the next call arrived at the present moment to call time arrived with a subordinate parameters/ index distribution of the call interval. A call arrived only judgment call and the arrival time each channel service has completed a moment : If the former than the latter an arbitrary, and at least one channel is completed service calls than this moment arrived moments earlier, that this channel is idle, call this success, should first get here Channel a moment of complete services for the current call home arrival time, coupled with the parameters obey the exponential distribution services; Conversely, if the former than the latter, all small, with all the Channel call arrived only aft)
    2005-11-05 23:39:50下载
    积分:1
  • MFC_lib
    mfc框架中经常用到的一些库,方便程序员查找之用(mfc framework often used in some of the bank to facilitate the use of programmers to find)
    2010-09-01 11:53:31下载
    积分:1
  • Snake-program
    需要一个4个以上按键,一个LCD显示">
    2012-12-28 15:51:44下载
    积分:1
  • stm
    IT REFERS CODE FOR USING STM
    2014-10-20 18:25:22下载
    积分:1
  • Writing-Efficient-C-and-C-Code-Optimization
    writing efficient c code
    2013-03-19 14:26:19下载
    积分:1
  • runstringNew-65000
    This is file for assembler code
    2015-03-26 21:30:27下载
    积分:1
  • DLT698.45.Test
    说明:  电网规约信息,可以解析电网698规约报文 ,供广大同仁参考(Power grid protocol information can be used to analyze 698 power grid protocol message for reference by colleagues.)
    2020-06-20 20:00:02下载
    积分:1
  • 696518资源总数
  • 104331会员总数
  • 24今日下载