摘要 |
PURPOSE:To take out internal information to the external without an emulation monitor program and a context switch by transferring internal information indicating the execution condition of a microprocessor itself to an external memory and jumping the control to a program counter value. CONSTITUTION:When the microprocessor fetches an instruction (2)11-2 at address (xyz), an instruction alpha12-1 is forcibly fetched by the action of hardware control on the outside of the microprocessor. After execution of an instruction (1)11-1 at address (xyz-1), contents of a register where context information of the microprocessor is held are transferred to the designated address of an external memory and increment of the program counter is suppressed by execution of the instruction alpha 12-1. Consequently, the program counter value fetched after execution of the instruction alpha12-1 indicates address (xyz) as it is, and the microprocessor jumps to its own program counter value. |