Nios II Classic Processor Reference Guide

ID 683620
Date 10/28/2016
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.