Nios® II Processor Reference Guide

ID 683836
Date 8/28/2023
Document Table of Contents The BAD Flag

During a general exception, the processor sets BAD to one when a bad virtual address condition exists, and clears BAD to zero otherwise. The following exceptions set the BAD flag to one:
  • Supervisor-only instruction address
  • Supervisor-only data address
  • Misaligned data address
  • Misaligned destination address

Refer to Nios II Exceptions (In Decreasing Priority Order) table in the "Exception Overview" section for more information on these exceptions.