Nios® II Software Developer Handbook

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

9.6.3. Removing an Instruction-Related Exception Handler

To remove a registered instruction-related 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 instruction-related exception handler, it restores the default break/optional trap logic.