Nios® V Processor Software Developer Handbook

ID 743810
Date 10/12/2024
Public
Document Table of Contents

9.7.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 16. HAL Exception Handling System with the Internal Interrupt Controller