Nios® V Processor Software Developer Handbook

ID 743810
Date 4/01/2024
Public
Document Table of Contents

8.6.2.3. Returning from Exceptions

After returning from the ISR or software exception handler, the general exception funnel performs the following tasks:
  • Restores the registers from the stack
  • Restores the stack pointer (if a separate exception stack is used)
  • Exits by issuing an MRET (exception return in machine mode) instruction
Figure 15. HAL Exception Handling System with the Internal Interrupt Controller