answersLogoWhite

0


Want this question answered?

Be notified when an answer is posted

Add your answer:

Earn +20 pts
Q: Why must use programs be prohibited from writing to the memory locations containing the interrupt vector?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

Can you call an interrupt routine from your own programs?

Yes you can.


What part that holds the programs application data and interrupt service routines when they are being executed?

When programs' application data and interrupt service routines are being executed they are held in a computer's main memory. The largest component of main memory is RAM.


What is the difference between context switching and interrupt handler?

they're not totally indistinguishable, they overlap as one is needed for the other. context switching is the process of storing and restoring the state of a process. when a interrupt handler interrupts a program, the context switch is enacted. the current programs status is saved and then once the program interrupt is finished, then program interupted is restored. the program interrupting is the computers way of responding to outside stimuli. in simple terms it saves the programs status, deals with what ever the interrupt is, then restores the programs status (what ever said program happens to be).


HOW IS SOFTWARE INTERRUPT INITIATED?

Interrupt signals initiated by programs are called software interrupts. A software interrupt is also called a trap or anexception. A signal informing a program that an event has occurred. When a program receives an interrupt signal, it takes a specified action (which can be to ignore the signal). Interrupt signals can cause a program to suspend itself temporarily to service the interrupt. Interrupt signals can come from a variety of sources. For example, every keystroke generates an interrupt signal. Interrupts can also be generated by other devices, such as a printer , to indicate that some event has occurred. PCs support 256 types of software interrupts and 15 hardware interrupts. Each type of software interrupt is associated with an interrupt handler -- a routine that takes control when the interrupt occurs. For example, when you press a key on your keyboard, this triggers a specific interrupt handler. The complete list of interrupts and associated interrupt handlers is stored in a table called the interrupt vector table , which resides in the first 1 K of addressable memory.


What is difference between interupt and subroutine?

Interrupt is the signal generated by the input/output devices in order to take the attention of the processor. When the processor receives the interrupt signals it checks the priority status and finish the current fetch and execute cycle and (if the priority status is high) allow the input/output device to process their tasks. Then previous fetch and execute cycle is continued. This is called interrupt service routine. The programs are broken down in to small sub programs which are called subroutines. Then the program reusability, readability, maintainability ...etc will be increased.


How does the world know that there is a new pope?

Nearly every tv channel and radio station in the world will interrupt their programs to make the announcement within moments of the election.


What are some good after school programs for my teen to keep them busy?

There are good after school programs for teenagers. The YMCA offers after school programs. Community centers are locations where your teen can go also.


What part of the computer is responsible for containing programs and the information your computer needs to operate?

The Central Processing Unit.


What is the practice of tailoring products and marketing programs to suit the tastes of specific individuals and locations?

cut


What work of window operating system?

.. Loads and starts programs and DLLs .. Dispatches and halts programs for multiprocessing .. Manages memory .. Insures application programs do not execute prohibited operations such as accessing another program's memory and reading/writing to I/O devices .. Routes requests for services to the appropriate service handler program.


What is interrupt in c?

Interrupt handling is performed by the operating system kernel. In the Intel IA-32 platform, for instance, it is handled at Ring-Zero.C++ code does not normally run in the kernel. It runs in user space, such as in Ring-Three. Unless the operating system allows you to load C++ code in non pageable Ring-Zero space, you cannot write C++ programs to handle interrupts. Even if you could do so, all of the dependencies, such as libraries, would need to also be there, unless you wrote dispatch stubs to transition into and out of Ring-Zero non-pageable space.That said, you are looking for the Device Driver Kit, or DDK. (In the Windows platform.)


Do Doctors without Borders also offer travel programs for nurses too?

Doctors with Borders does offer travel programs for nurses as well. Many nurses do travel to various locations to work alongside the doctors.