Question: Suppose you have to implement an operating system on hardware that supports interrupts and exceptions but that does not have a trap instruction. Can you devise a satisfactory substitute for traps using interrupts and/or exeptions? If so, explain how. If not, explain why.