Invention Grant
- Patent Title: Test apparatus performing runtime replacement of program instructions with breakpoint instructions for processor having multiple instruction fetch capabilities
- Patent Title (中): 测试设备用具有多个指令获取能力的处理器的断点指令执行程序指令的运行时替换
-
Application No.: US310153Application Date: 1989-02-10
-
Publication No.: US5134701APublication Date: 1992-07-28
- Inventor: David C. Mueller , Steven R. Williams , Nabil M. Abu-Jbara
- Applicant: David C. Mueller , Steven R. Williams , Nabil M. Abu-Jbara
- Applicant Address: CA Palo Alto
- Assignee: Hewlett-Packard Co.
- Current Assignee: Hewlett-Packard Co.
- Current Assignee Address: CA Palo Alto
- Main IPC: G06F11/28
- IPC: G06F11/28 ; G06F9/38 ; G06F11/34 ; G06F11/36
Abstract:
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.
Public/Granted literature
- US5446995A Modular drainage system for containers Public/Granted day:1995-09-05
Information query