当前位置: 首页 > 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://www.huolong8.cn/news/359768/

相关文章:

  • 柳市做网站制作聊城宏远网站建设优化
  • 怎样建立网站的快捷方式福州网站运营
  • 做网站 阿里云网站flash模板
  • 成都网站建设四川推来客网络清华大学网站建设方案
  • 广州番禺服装网站建设c2c平台的盈利模式有哪些
  • 网站开发语言作用棋牌游戏开发多少钱
  • 怎么做影视网站网站建设免备案免费空间
  • php是用来做网站的吗网站打开是404
  • 页面好看的蛋糕网站品牌建设经验做法
  • 网站开发感受网站建设困难
  • 微官网和移动网站区别汕头网站外包
  • 广告商网站建设泰州seo网站推广优化
  • 网站做中转好看简洁的logo设计
  • 网站性能容量的收集与分析怎么做海口网站开发公司
  • 怎么样做免费网站杭州网站建设页面
  • 国内比较大的源码网站沈阳商城网站开发
  • 网站怎么做浏览量才会多张掖哪家公司做网站
  • 设计网站酷营销型网站建设
  • 利用python做网站重庆旅游网站建设规划
  • 建设公司网站的内容浏览器app下载安装
  • 荆州公司网站建设微信投票小程序怎么做
  • 窗帘网站建设策划书道客巴巴php网站上传漏洞
  • html网站系统网站制作厂家电话多少
  • 计算机课程网站建设实训报告总结wordpress 悬停 图片 文字
  • wordpress网站源文件太多蝌蚪窝一个释放做网站
  • 做网站最好用的软件南充房管局官网
  • 淘宝客怎么做自己网站推广任丘网站建设价格
  • 为网站网站做代理怎么判天河区门户网站
  • 建设银行网站查开户行免费个人建站系统
  • 个人网站建设方案实施做网站要什么功能