当前位置: 首页 > news >正文

网站关键词添加商城网站建设报价方案

网站关键词添加,商城网站建设报价方案,微网站模板 餐饮,懒设计app微内核和宏内核的区别Prerequisite 先决条件 Procedure in 8086 Microprocessor 8086微处理器中的过程 Macros in 8086 Microprocessor 8086微处理器中的宏 过程和宏之间的区别 (Differences between Procedures and Macros ) CharacteristicProcedureMacroNumber of Instruct…微内核和宏内核的区别Prerequisite 先决条件 Procedure in 8086 Microprocessor 8086微处理器中的过程 Macros in 8086 Microprocessor 8086微处理器中的宏 过程和宏之间的区别 (Differences between Procedures and Macros ) CharacteristicProcedureMacroNumber of Instructions that can be effectively handled by the microprocessorIt is better to use Procedures for a set of a large number of instructions. Hence, it is optimal to use Procedures when the number of instructions is more than 10.Macros are useful over Procedures when the number of instructions in the set is less. Therefore, when the subprogram contains less than 10 instructions, Macros are more efficient to use in such cases.Assembler Directives usedThe assembler directive - PROC is used to define a Procedure. And the assembler directive - ENDP is used to indicate that the body of the procedure has ended.The assembler directive- MACRO is used to define a Macro, And to indicate that the body of the procedure has ended, the assembler directive- ENDM is used.Execution Process Every time a procedure is called, the CALL and RET instructions are required for shifting the control of instruction execution. Every time a Macro is called, the assembler of the microprocessor places the entire set of instructions of the Macros in the mainline program form where the call to the macro is made.Execution TimeThe Procedures execute slower than the Macros because every time a procedure is called, it is necessary to integrate and link it with the calling program and this takes time. The execution of macros is faster as compared to procedures because there is no need to integrate or link the macros with the calling program. It is simply loaded into the main memory every time it is called.Overhead timeOverhead time occurs while calling the procedure and returning the control to the calling program. Overhead time is avoided as calling and returning does not take place.Amount of memory requiredThe Procedures require less amount of memory than the Macros because a Procedure is written and loaded into the main memory only once, and is linked to the calling program when called.The Macros require a large amount of memory because it is loaded into the main memory every time it is called. Number of times machine code generatedThe machine code (containing the instructions within the Procedure) is generated only once when the procedure is defined.The machine code (containing the instructions within the Macros) is generated every time the macro is called. Passing of parametersIn procedures, we cannot pass the parameter to id directly. However, the values can be passed to it using registers and also via stack.The macros are capable of handling parameters within their definition and we can pass them in the statement which calls the macro. 特性 程序 巨集 微处理器可以有效处理的指令数 最好将过程用于大量指令集。 因此当指令数大于10时最好使用过程。 当集合中的指令数较少时宏比过程有用。 因此当子程序包含少于10条指令时在这种情况下使用宏会更有效。 所使用的汇编程序指令 汇编程序指令-PROC用于定义过程。 汇编程序指令ENDP用于指示过程主体已结束。 汇编程序指令MACRO用于定义宏并指示程序的主体已结束因此使用汇编程序指令ENDM。 执行过程 每次调用一个过程时都需要CALL和RET指令来转移对指令执行的控制。 每次调用宏时微处理器的汇编程序都将宏的整个指令集置于主程序形式中以进行宏调用。 执行时间处理时间 这些过程的执行速度比宏要慢因为每次调用一个过程时都需要将其与调用程序集成和链接这需要时间。 与过程相比宏的执行速度更快因为不需要将宏与调用程序集成或链接。 每次调用时它都被简单地加载到主存储器中。 开销时间 在调用过程并将控件返回到调用程序时会发生开销时间。 避免了开销时间因为不会进行呼叫和返回。 所需的内存量 与宏相比过程只需要较少的内存因为过程只写入一次并加载到主存储器中并且在调用时链接到调用程序。 宏需要大量的内存因为每次调用宏时都会将其加载到主内存中。 机器代码生成的次数 定义过程后机器代码(包含过程中的指令)仅生成一次。 每次调用宏时都会生成机器代码(包含宏中的指令)。 参数传递 在过程中我们无法将参数直接传递给id。 但是可以使用寄存器以及通过堆栈将值传递给它。 宏能够在其定义内处理参数我们可以在调用该宏的语句中传递它们。 翻译自: https://www.includehelp.com/embedded-system/procedures-vs-macros-in-8086-microprocessors.aspx微内核和宏内核的区别
http://wiki.neutronadmin.com/news/359768/

相关文章:

  • 网站有哪些费用多少钱做标准件生意上什么网站
  • 农村网站平台建设方案网站的后台一般用什么做的
  • 网站首页html代码的portfolio wordpress
  • 网站怎样做的网站建设送企业邮箱吗
  • 浦口建设局网站做旅游网站教程
  • 成都上市的网站建设公司赫山区住房和城乡建设局网站
  • 网站建设公司的pest分析wordpress clean options
  • 怎么自己做网站的步骤品牌设计公司网站
  • 做优化需要发多少个网站WordPress功能模块排版
  • 建站公司如何月入十万广西住房与建设厅网站
  • 淮南网站设计做异地送花网站
  • 山西省城乡住房建设厅网站外网服务器租用
  • 网站建设 杭州市萧山区西安网站建设中企建站
  • 晋城商城网站开发设计手机网站app生成
  • 管理网站建设哪家公司好建设通网站查询单位
  • wap手机网站开发软件青锐成长计划网站开发人员
  • .net网站如何优化wordpress查看数据库文件
  • 多种手机网站建设wordpress自定义注册插件
  • 网站公司seo名词解释 网站规划
  • 杭州化工网站建设两个人做aj的视频教程
  • 网站下方一般放什么wordpress搭建500错误
  • 新北网站建设辽宁建设工程信息网怎么看项目经理是不是被锁住
  • 网站后台添加图片显示不了北京值得去的商场
  • 百度营销大学网站优化计划书
  • 设计工作室网站商业网站 模板
  • 网站建设项目书东莞网站建设的价格
  • 网站网页制作的公司做谷歌网站
  • 网站 pr服务网站建设方案
  • 手机软件上传网站中小企业管理软件排名
  • 网站做违法的事情投诉湖南纯手工seo电话