Question: 2
(Choose 1 answer)
What is the purpose of the TRAP instruction in the execution of a system call?
A. To switch from user mode to kernel mode.
B. To call a function from the library.
C. To determine a specific address in memory for the kernel to handle the request.
D. To check the input parameters before execution.