首页> 外国专利> Test apparatus performing runtime replacement of program instructions with breakpoint instructions for processor having multiple instruction fetch capabilities

Test apparatus performing runtime replacement of program instructions with breakpoint instructions for processor having multiple instruction fetch capabilities

机译:测试设备用具有断点指令的处理器用断点指令执行程序指令的运行时替换

摘要

The test apparatus for monitoring the operation of a processor that has multiple instruction fetch capability monitors the instruction memory to record the sequence of program instructions that are retrieved by the processor from program memory. The test apparatus determines when a jump operation is executed and determines the target of the jump oepration by inserting a break point instruction in place of one of the two program instructions that is retrieved by the processor from program memory. This instruction substitution is accomplished by an instruction jamming circuit that forces the break point instruction onto the processor data bus as part of the program instruction fetch cycle in lieu of one of the instruction retrieved as part of the execution of the jump instruction. If the break point operation is executed, then the target address of the jump operation is the address location that contains the break point instruction that was substituted for one of the program instructions retrieved from the instruction memory. In this case, the test apparatus responds to the execution of the break point instruction by replacing the program instruction originally retrieved from program memory and substituted for by the break point instruction. Thus, the break point instruction acts as a flag to indicate that this address is the target address of the jump instruction. If the break point instruction is not executed by the processor, it is because the jump instruction target address is the location that contains the other retrieved program instruction.
机译:用于监视具有多个指令提取能力的处理器的操作的测试设备监视指令存储器,以记录由处理器从程序存储器检索的程序指令的序列。测试设备确定何时执行跳转操作,并通过插入断点指令代替处理器从程序存储器中检索到的两个程序指令之一来确定跳转操作的目标。该指令替换是通过指令阻塞电路完成的,该指令阻塞电路将断点指令作为程序指令提取周期的一部分强制到处理器数据总线上,以代替作为跳转指令执行的一部分而检索到的指令之一。如果执行了断点操作,则跳转操作的目标地址是包含断点指令的地址位置,该断点指令替代了从指令存储器中检索到的程序指令之一。在这种情况下,测试设备通过替换最初从程序存储器中获取并由断点指令代替的程序指令来响应断点指令的执行。因此,断点指令充当标志,以指示该地址是跳转指令的目标地址。如果处理器不执行断点指令,则是因为跳转指令的目标地址是包含其他检索到的程序指令的位置。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号