Chapter 3: Loading and Executing Programs
Using Simulated Interrupts
Using Simulated Interrupts
The debugger can simulate program interrupts to your target program. The
debugger lets you specify a delay between interrupts in terms of a clock cycle
count. The pseudoregister @cycles maintains the current clock cycle count.
Caution
The pseudoregister @cycles is not implemented in the emulation
environment. Macros written for execution in both the simulation and
emulation environments must not refer to @cycles.
This section shows you how to:
•
•
To define simulated interrupts
• Using the command line, enter:
Program Interrupt Add
Select Repetitive or Once, specify how often the interrupt should occur,
specify the interrupt level number and exception vector number; then, press
the < Return> key.
Use the Program Interrupt Add command to cause a simulated program
interrupt to occur after a specified number of clock cycles have been executed.
You can define simulated interrupts to be repetitive or to occur only once.
See Also
Program Interrupt Add on page 376.
100
Define simulated interrupts.
Remove simulated interrupts.