traps research paper - 25478

Solution Detail
Price: $18.00
  • From: ,
  • Posted on: Thu 19 Sep, 2013
  • Request id: # 21215
  • Purchased: 1 time(s)
  • Average Rating: (95) A+
Request Description
Solution Description

In computers and operating system a trap is an abnormal condition which is detected by the CPU and also it indicates an unknown I/O device is accessed by the system. A trap is also considered as type of fault of synchronous interrupt typically caused by an exceptional condition such as breakpoint, division by zero, invalid memory access. A trap usually results switching the computer into kernel mode where the operating process performs some actions before returning control to the main process. Generally a trap takes serious role in the system process rather than the user process due to some fatal reasons. In some systems traps are also referred to the interrupts which happens during the normal execution of program. When the CPU is interrupt, then it stops its current activities like execution of the program. And transfer the control to interrupting device to check the interrupt. The CPU responds interrupt. By saving the current value of the program counter and resetting the program to a new address. The new address is the startin