Transcription of Exceptions in MIPS
{{id}} {{{paragraph}}}
1996, Virgil BistriceanuExceptions in MIPSO bjectivesAfter completing this lab you will: know the exception mechanism in MIPS be able to write a simple exception handler for a MIPS machineIntroductionBranches and jumps provide ways to change the control flow in a can also change thecontrol flow in a MIPS convention calls anexception any unexpected change in control flow regardless of its source ( distinguishing between a within the processor source and an external source).An exception is said to be synchronous if it occurs at the same place every time a program is executed withthe same data and the same memory allocation. Arithmetic overflows, undefined instructions, page faults aresome examples of synchronous Exceptions .
cessor must be in the same state it was when the exception happened. Bits 5-0 in the Status register implement a simple, three level stack with information about previous exceptions. When an exception occurs, the pre-
Domain:
Source:
Link to this page:
Please notify us if you found a problem with this document:
{{id}} {{{paragraph}}}