![Intel NIOS II Owner Reference Manual Download Page 85](http://html1.mh-extra.com/html/intel/nios-ii/nios-ii_owner-reference-manual_2071826085.webp)
For information about controlling this option, refer to the Instantiating the Nios II
Processor chapter of the Nios II Processor Reference Handbook.
When the processor issues an instruction with an undefined opcode or opcode-
extension field, and illegal instruction exception checking is turned on, an illegal
instruction exception is generated.
Refer to the OP Encodings and OPX Encodings for R-Type Instructions tables in the
Instruction Set Reference chapter of the Nios II Processor Reference Handbook to see
the unused opcodes and opcode extensions.
Note:
All undefined opcodes are reserved. The processor does occasionally use some
undefined encodings internally. Executing one of these undefined opcodes does not
trigger an illegal instruction exception.
Refer to the Nios II Core Implementation Details chapter of the Nios II Processor
Reference Handbook for information about each specific Nios II core.
Related Information
•
Instruction Set Reference
on page 169
•
Programming Model
on page 36
•
Nios II Core Implementation Details
on page 121
3.7.7.5. Supervisor-Only Instruction
When your system contains an MMU or MPU and the processor is in user mode
(
status.U = 1
), executing a supervisor-only instruction results in a supervisor-only
instruction exception. The supervisor-only instructions are
initd
,
initi
,
eret
,
bret
,
rdctl
, and
wrctl
.
This exception is implemented only in Nios II processors configured to use supervisor
mode and user mode. Refer to the "Operating Modes" section of this chapter for more
information.
Related Information
Operating Modes
on page 36
3.7.7.6. Supervisor-Only Instruction Address
When your system contains an MMU and the processor is in user mode (
status.U =
1
), attempts to access a supervisor-only instruction address result in a supervisor-only
instruction address exception. Any instruction fetch can cause this exception. For
definitions of supervisor-only address ranges, refer to the Virtual Memory Partitions
Table.
This exception is implemented only in Nios II processors that include the MMU.
Related Information
Virtual Memory Address Space
on page 39
3. Programming Model
NII-PRG | 2018.04.18
Nios II Processor Reference Guide
85