首页> 外国专利> Method and apparatus for dynamically translating program instructions to microcode instructions

Method and apparatus for dynamically translating program instructions to microcode instructions

机译:用于将程序指令动态翻译为微代码指令的方法和装置

摘要

In a computer system the instruction decoding unit for translating program instructions to microcode instructions operates dynamically. Thus the unit receives state signals indicating the state of the computer, such as a trace enabling signal, influencing the translation process in the instruction decoding unit. These state signals are added to the operation code of the program instruction to be decoded, the operation code of the program instruction thus being extended and used as input to a translating table, the extended operation code of the program instruction being taken as an address of a field in the table. The addresses and thus the contents of the fields addressed for the same operation code of a program instruction can then be different for different values of the state signals. Thus generally, the state signals cause the instruction decoder to change its translating algorithm so that the decoder can decode an operation code differently depending on the state which the signals adopt. The dynamic decoding can for a trace enabling signal be used for switching on and off a trace function. In the normal case, when tracing is not desired, no microinstructions supporting the trace function have to executed and thereby the performance and in particular the speed of the computer system will be increased.
机译:在计算机系统中,用于将程序指令翻译成微码指令的指令解码单元动态地操作。因此,该单元接收指示计算机状态的状态信号,例如跟踪使能信号,其影响指令解码单元中的翻译处理。这些状态信号被加到要解码的程序指令的操作代码上,因此该程序指令的操作代码被扩展并用作对翻译表的输入,该程序指令的扩展操作代码被当作地址。表格中的一个字段。然后对于状态信号的不同值,针对程序指令的相同操作码的地址以及因此寻址的字段的内容可以不同。因此,通常,状态信号使指令解码器改变其翻译算法,使得解码器可以根据信号采用的状态来不同地解码操作码。跟踪使能信号的动态解码可用于打开和关闭跟踪功能。在正常情况下,当不需要跟踪时,不需要执行支持跟踪功能的微指令,从而可以提高计算机系统的性能,特别是速度。

著录项

相似文献

  • 专利
  • 外文文献
  • 中文文献
获取专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号