MicroBlaze Processor Reference Guide
31
UG081 (v14.7)
Registers
Exception Status Register (ESR)
The Exception Status Register contains status bits for the processor. When read with the MFS
instruction, the ESR is specified by setting Sa = 0x0005. The ESR register is illustrated in
provides bit descriptions and reset values, and
provides the
Exception Specific Status (ESS).
19 20
26 27
31
↑
↑
¦
↑
RESERVED
DS
ESS
EC
Figure 2-6:
ESR
Table 2-11:
Exception Status Register (ESR)
Bits
Name
Description
Reset Value
0:18
Reserved
19
DS
Delay Slot Exception.
0 = not caused by delay slot instruction
1 = caused by delay slot instruction
Read-only
0
20:26
ESS
Exception Specific Status
For details refer to
Read-only
See
27:31
EC
Exception Cause
00000 = Stream exception
00001 = Unaligned data access exception
00010 = Illegal op-code exception
00011 = Instruction bus error exception
00100 = Data bus error exception
00101 = Divide exception
00110 = Floating point unit exception
00111 = Privileged instruction exception
00111 = Stack protection violation exception
10000 = Data storage exception
10001 = Instruction storage exception
10010 = Data TLB miss exception
10011 = Instruction TLB miss exception
Read-only
0