Sunday, 24 April 2011

Algorithm for Handling Interrupts

Algorithm  for  Handling  Interrupts

algorithm  inthand   /*  handle   interrupts  */
input  :  none
output  :  none
{
save (push) current   context   layer  ;
determine  interrupt  source ;
find  interrupt   vector;
call   interrupt  handler ;
restore (pop) previous  contex  layer

}

No comments: