1.

What allows the data protection in the software interrupt mechanism?(a) Different mode(b) Same mode(c) SWI(d) TRAPThe question was asked during an interview for a job.Question is taken from Sources of Interrupts in section Interrupts and Exceptions of Embedded Systems

Answer» RIGHT choice is (a) DIFFERENT mode

Easy explanation: The switching between user mode and supervisor mode provides PROTECTION for the processor, that is, the different modes in the software interrupt allows the MEMORY and the associated code and data to be protected from each other.


Discussion

No Comment Found

Related InterviewSolutions