"To execute a system call, a program must execute a special trap instruction."
To execute a system call, a program must execute a special trap instruction.
Why is it called a "trap" instruction? What is the etymology of this usage of the word "trap"?
Is it related to the usual English word trap? Is something is getting "trapped" as in "unable to escape"?