18.104.22.168. Nios® II/f Exception Processing
The CAUSE field of the exception register contains a code for the highest-priority exception occurring at the time. The BADDR field of the badaddr register contains the byte instruction address or data address for certain exceptions.
Refer to the Nios® II Exceptions table for more information in the Exception Overview section.
To determine the cause of an exception, simply read the cause of the exception from exception.CAUSE and then transfer control to the appropriate exception routine.
Did you find the information on this page useful?