Software-Assisted Trace Functions For Microprocessors
Original Publication Date: 1979-Mar-01
Included in the Prior Art Database: 2005-Feb-20
By using software to assist in implementing trace functions (single step, address stop and trace) much of the hardware normally associated with these functions can be eliminated. Use of software also allows these functions to be easily expanded to become more powerful. The basic concept resides in loading a counter which counts central processing unit (CPU) clock cycles to enable an interrupt to be forced during the execution of each target instruction. The interrupt handler (software) can then determine the function being executed and perform the required task.