answersLogoWhite

0


Want this question answered?

Be notified when an answer is posted

Add your answer:

Earn +20 pts
Q: What are the different between a trap and an interrupt in os?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What is interrupt conflicts in computers?

Intrrup conflicts are when one device in a computer takes the interrupt from other device in the os. Intrrup conflicts are when one device in a computer takes the interrupt from other device in the os.


What is mean by interrupt vector table?

Interrupts are essential to the operation of a computer because they allow it to process service requests. Interrupts tell the computer to stop whatever it is doing and start some other task, such as handing the keyboard or mouse movement. When the task is complete, the interrupt finishes and the computer resumes whatever it was doing previously. Interrupt vectors allow for compatibility, since interrupt numbers can be standardized, and different interrupt code installed for similar devices from different vendors. An interrupt vector table separates a hardware device that has events from the code that will process that event. A device (i.e. network card, keyboard, mouse, etc) generates an event and that event needs to trigger a message into some software application. That message might ultimately be ignored, but the responsibility of the hardware is to get that event into the computer. Hardware devices simply change state when events happen which then causes a memory mapped location for the hardware to change. This change then triggers the OS to perform a simple look-up in the interrupt vector table and jump at the machine level to the machine code that will handle the interrupt. The machine code to handle the interrupt is known as the device driver or interrupt handler. That code will read any memory mapped locations related to the event and pass that information on to higher level software routines. The simplicity of the interrupt vector table allows a complete separation between hardware devices and software OS. This is what allows a USB mouse to be used on different OS on a single machine or across different hardware architectures (i.e. Mac, Intel PC, etc). The necessary evil of this scheme is that you can't use a device with an OS if there is no device driver for that OS. This is particularly frustrating to users who have a device that has a driver with one version of an OS "X", upgrades the OS to the next version "X+1", and finds that the driver philosophy has changed in "X+1" and the device can no longer be used.


What is restart interrupt?

When you interrupt the restart you normally have to program and code a little bit other wise its quite dumb having to destroy your OS


What is interrpt request lines?

these are the block of code which tell the OS that a specific interrupt has arrived or to send interrupt request to some particular task. Interrupt is to stop the normal execution of the program and process the interrupt first according to it's priority in the interrupt vector table.


When a computer device is in need of immediate attention it sends the OS?

An interrupt request, or IRQ


What is restart?

When you interrupt the restart you normally have to program and code a little bit other wise its quite dumb having to destroy your OS


Disadvantage of writing OS in high level language such as C?

Nothing. Every modern OS is written in C, except for some little special parts (like interrupt-handling) that are written in Assembly.


What is the difference between a Mac OS and iMac OS?

Mac OS 9 is the old version of Mac OS. Mac OS X was completely rebuilt from the ground up. Except some of the programs. The interface and look is different, but things like Disk Utility and stuff are the same. Terminal is a program that never gets improvements so that's the same too.


What is difference between Windows xp and Windows 7?

Its newer. Different style. Different OS. Different name. Can do more. Faster (depending on pc specs). Easier. Better


What makes an OS unique?

There are many things that make an OS (operating System) unique. There are 3 Main Components that make an OS unique.PerformanceVersionSoftwareAs you see there is a big difference between Mac and windows. they have different appearances and themes, deluxe software and branding.


How to control remotely a computer?

You can install teamviewer on both computers. This allows remote connections between different OS types


Difference between conventional OS and embedded OS?

Conventional OS aim to give users the ability to run other software that are interactive in nature to perform different tasks. On the other hand, embedded OS only run fixed set of tasks and deliver the expected results in real time.