in CO and Architecture retagged by
280 views
0 votes
0 votes

In which of the following cases, a process executing in user mode requires an entry into the $\text{OS}$ mode?

  1. Decrementing an unsigned integer value stored in a register beyond zero
  2. Adding values of two registers using $\textsf{ADD}$ instruction
  3. Executing $\textsf{printf} ()$
  4. Accessing a general purpose register
in CO and Architecture retagged by
by
280 views

1 Answer

0 votes
0 votes

printf() call write system call  and that's why an entry required in os/kernel mode

Answer:

Related questions