Specifications
Figure 2-1: Nios II Debug window
Custom Instruction-Related Exception Handler
For use outside the debugger, you can register your own instruction-related exception handler which is
called when the break (or any exception) is seen.
On an exception, including overflow, the HAL calls the instruction-related exception handler, passing in
the cause field from the exception register, and the address which caused the exception. At this point, it is
up to you to decide what do.
For more information about how to register an instruction-related exception, refer to
Related Information
• Exception Handling on page 8-1
This chapter provides more information about the details on how to register an instruction-related
exception.
• Writing an Instruction-Related Exception Handler on page 8-32
This chapter provides more information about the details on how to register an instruction-related
exception.
• Registering an Instruction-Related Exception Handler on page 8-34
This chapter provides more information about the details on how to register an instruction-related
exception.
2-10
Custom Instruction-Related Exception Handler
NII5V2
2015.05.14
Altera Corporation
Getting Started with the Graphical User Interface
Send Feedback