摘要 |
When a call instruction or interrupt branch is executed by a CPU, its return address is pushed to a stack memory. When a return instruction is executed, the pushed return address is popped from the stack memory. When a return instruction is executed by the CPU, a comparator compares the branch address output from the CPU and the address output from the stack memory. As a result of the comparison, if the addresses match, the branch address is not output as trace information. If the addresses do not match, the address register receives the branch address from the CPU and outputs the received branch address as the trace information.
|