Nios® II Software Developer Handbook

ID 683525
Date 8/28/2023
Public
Document Table of Contents

9.5.4.2. Instruction-Related Exceptions

If the cause of the software exception is not an unimplemented instruction, the HAL software exception funnel checks for a registered instruction-related exception handler. If no instruction-related exception handler is registered, the exception is handled.

For more information, refer to the “Software Trap Handling” chapter. If a handler is registered, the HAL software exception funnel calls it, then restores context and returns.

For more information, refer to the “The Nios II Instruction-Related Exception Handler” chapter for a description of the instruction-related exception handler and how to register it.