Nios® V Processor Software Developer Handbook

ID 743810
Date 10/06/2025
Public
Document Table of Contents

9.3.5.3. Removing a Hardware Exception Handler

To remove a registered hardware exception handler, your C code must call the alt_instruction_exception_register() function, as follows:

alt_instruction_exception_register(null, null);

When the HAL removes the hardware exception handler, it restores back the default EBREAK.