answersLogoWhite

0


Best Answer

disadvantages of interrupt

User Avatar

Wiki User

11y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What is the advantage and disadvantage of interrupt in memory mapped IO?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

Advantage and disadvantage of te buffer?

advantage: directly pass input to processor disadvantage: take away memory from a system file to implement a cache


What is a memory mapped register?

A memory mapped register is a register that has its specific address stored in a known memory location.


Differentiate between memory mapped IO and IO mapped IO?

Memory mapped IO is one where the processor and the IO device share the same memory location(memory) while IO mapped IO is one where the processor and the IO device have different memory located to each other.


What is the meaning of memory mapped bus?

Memory mapped buses helps in the extension of the address of the physical ram through which the devices can access the address


What is the use of interrupt vector?

An interrupt vector is the memory address of an interrupt handler, or an index into an array called an interrupt vector table or dispatch table. Interrupt vector tables contain the memory addresses of interrupt handlers. When an interrupt is generated, the processor saves its execution state via a context switch, and begins execution of the interrupt handler at the interrupt vector.


Where is interrupt handler and interrupt vector?

In the 8086/8088, the interrupt vector table is the first 1024 bytes of memory. In the 8085, the interrupt vector table is the first 64 bytes of memory if using the RST form of interrupt, otherwise the interrupt vector is provided by the interrupting device, usually in the form of a CALL instruction. The interrupt handler is wherever the interrupt vector points to.


What are page faults?

In computer storage technology, a page is a fixed length block of memory that is used as a unit of transfer between physical memory and external storage like a disk, and a page fault is an interrupt (or exception) to the software raised by the hardware, when a program accesses a page that is mapped in address space, but not loaded in physical memory.


What is the Difference between memory mapped IO and IO mapped IO?

In memory mapped I/O, a chunk of the CPU's address space is reserved for accessing I/O devices. In I/O mapped I/O, I/O devices are handled distinctly by the CPU and hence occupy a separate chunk of addresses predetermined by the CPU for I/O. In case of Memory mapped I/O the same address BUS is used for accessing both Memory (RAM) and the Registers of I/O devices. For I/O Mapped I/O, separate address BUS is used. As Address space is generally larger for Memory than I/O registers, the length of I/O address is larger in case of Memory Mapped I/O. For a system which uses I/O Mapped I/O, there is a requirement for a extra h/w Circuitry.


Graphic images where each pixel is bit-mapped and take up more memory?

Graphic images where each pixel is bit-mapped and take up more memory?


What is a page fault and a page swap?

a page fault is an interrupt (or exception) to the software raised by the hardware, when a program accesses a page that is mapped in address space, but not loaded in physical memory.Wikipedia knows...A page swap means that your page is loaded into main memory or is sent out of main memory to make place (probably due to memory-shortages or to make place for others).


What is an Interrupt Give two examples of an Interrupt?

Interrupt is nothing but according to the priority of ur instruction the processor will assign memory to it and will keep the bus line busy .


Suppose you are writing a large software package for a data acquisition application the data is to be acquired by a memory mapped device which connects to the system bus and interrupts the CPU anytime?

Sounds like a good solution.Personally, I'd write it in UNIX, Linux or some other interrupt driven operating system. I'd hang a read or otherwise set a wait flag for the interrupt, then flush the buffer.If the memory mapped device device is well established, with some nice protocols, it's probably setting the interrupt flag when data is ready. If that's the case, when you receive the interrupt, just read the data. Unfortunately, you may have a device that isn't quite so mature, in which case you'd need to trap each byte. If that's the case, you'll need to find a way to populate the buffer and validate the data stream.