1 Interrupts, traps, and faults are treated as hardware-generated function calls that are indistinguishable from normal function calls to the callee.
“The hardware generates up a function call, but otherwise, from the viewpoint of the callee, it is indistinguishable from a normal call, and in fact, you can call handlers to just by normal function calls as well as having them invoked by the hardware.”