Slide 1Chapter 9 TRAP Routines and Subroutines Slide 2 Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. 9-2 System Calls Certain…