1. What is the basic actionthe processor must perform when anexception occurs?
2. To implement the exceptionsystem used in the MIPS architecture,what are the two additionalregisters that we need to add to ourMIPS implementation?Describe the tworegisters.
Answer
1). Exception is a sudden event inside theprocessor a basic action that a processor must perform when anexception occurs is for storing the address of offendinginstruction in EPC, furtherly shift control for operating systemacross a particular stated address.
2). EPC(exception programcounter ) – employed for sustaining the address ofimpacted instruction.Required if the exceptions are vectored.
cause – It is also known as causeregister.Employed for noticing the
OR
OR