1. List the tasks performed by an interrupt service routine which is called when the computer user presses a keyboard key.

Approximate answer: retrieve keypress (which clears the interrupt line), echo keypress to console, record the fact that data is available, do an RTI to reset priority level and return to main program. Also, if the key is something like control-C, may raise a software interrupt.


[I/O problems] [CSC 258 additional problems] [main course page]