Lec09b - COMP 4300 Computer Architecture Pipeline:...

Info iconThis preview shows pages 1–5. Sign up to view the full content.

View Full Document Right Arrow Icon
1 COMP 4300 Computer Architecture Pipeline: Exceptions Dr. Xiao Qin Auburn University http://www.eng.auburn.edu/~xqin [email protected] Fall, 2010
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
2 Exceptions - “Stuff Happens” Exceptions definition: “ unexpected change in control flow Another form of control hazard. For example: add $1 , $2, $1; causing an arithmetic overflow sw $3, 400( $1 ); add $5, $1 , $2; Invalid $1 contaminates other registers or memory locations!
Background image of page 2
3 Two Types of Exceptions: Interrupts and Traps Interrupts Caused by external events : Network, Keyboard, Disk I/O, Timer Page fault - virtual memory System call - user request for OS action Asynchronous to program execution May be handled between instructions Simply suspend and resume user program Traps Caused by internal events Exceptional conditions (overflow) Undefined Instruction Hardware malfunction Usually Synchronous to program execution Condition must be remedied by the handler Instruction may be retried or simulated and program continued or program may be aborted
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
4 Synchronous vs Asynchronous Definition
Background image of page 4
Image of page 5
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 12/07/2011 for the course COMP 3400 taught by Professor Staff during the Fall '10 term at Auburn University.

Page1 / 16

Lec09b - COMP 4300 Computer Architecture Pipeline:...

This preview shows document pages 1 - 5. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online