CHAPTER 2 VR4120A
164 Preliminary User’s Manual S15543EJ1V0UM

Figure 2-64. Soft Reset and NMI Exception Handling

BD bit1
ErrorEPCPC4
Set Status register
BEV bit1
TS bit0
SR bit1
ERL bit1
BD bit0
ErrorEPCPC
(Hardware)
Soft Reset or
NMI exception
Yes
ERL=1?
No
NoYes Instruction
in branch delay
slot?
PCFFFF FFFF BFC0 0000H
(Software)
Servicing by
Cold Reset
exception routine
Servicing by
Soft Reset
exception routine
Servicing by NMI
exception routine
The process or provides n o means of
distinguishing between an NMI
exception and Soft Reset exception,
so that this must be determined at the
system level.
ERET
Yes
NMI?
No
= 0
SR bit
= 1
Instruction
in delay slot?
BD bit1
ErrorEPCPC4
ErrorEPCEIM
BD bit0
ErrorEPCPC
ErrorEPCEIM
NoYes
Yes
M16=1?
(config20)
No