Visible to Intel only — GUID: iga1409334285012
Ixiasoft
Visible to Intel only — GUID: iga1409334285012
Ixiasoft
3.4.2.2. The estatus Register
Bit Fields | |||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
Reserved | RSIE | NMI | PRS | ||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
CRS | IL | IH | EH | U | PIE |
All fields in the estatus register have read/write access. All fields reset to 0.
When the Nios® II processor takes an interrupt, if status.eh is zero (that is, the MMU is in nonexception mode), the processor copies the contents of the status register to estatus.
For details about the sstatus register, refer to The sstatus Register section.
The exception handler can examine estatus to determine the pre-exception status of the processor. When returning from an exception, the eret instruction restores the pre-exception value of status. The instruction restores the pre-exception value by copying either estatus or sstatus back to status, depending on the value of status.CRS.
Refer to the Exception Processing section for more information.