Information about Interrupts and registers

Asked By 40 points N/A Posted on -
qa-featured

Hi friends, 

What are interrupts? Also tell me that what are registers? I need answer of this question immediately. Because, I have to prepare for presentation in our college.

Thanks .

SHARE
Best Answer by rizwan
Best Answer
Best Answer
Answered By 280 points N/A #128233

Information about Interrupts and registers

qa-featured

Hi Rizwan is here. The answer of you question is that The hardware and software designed for original PC communicated with the CPU by means of a hierarchical and predetermined set of signals calledinterrupts. When a device or a program needed some action on the part of the CPU it would signal this by sending an interrupt signal. The CPU would sort out the priority of the incoming interrupt requests, with lower number interrupts being handled first (it is common for the CPU to be handling several interrupts concurrently) and then locate the code associated with the interrupt (the Interrupt Request Handler) by examining the Interrupt Vector Table. Each interrupt (starting with interrupt 00H) is allocated four bytes in the vector table. These four bytes serve as an address pointer to the actual software routine associated with the interrupt. These routines may be stored in the ROM BIOS or more commonly in system RAM (where copies of ROM BIOS routines are often uploaded to provide faster access). The interrupt vector table is first initialized by the Start-up ROM but changes are made to it's contents as first the ROM Extensions and later the operating system files are loaded. The ability to update the contents of the interrupt vector table provides a means to easily expand operating system services by making a standard interrupt point to a new Interrupt Handler.

The other part of your question is One of a small number of high-speed memory locations in a computer's CPU. Registers differ from ordinary random access memory in several respects: There are only a small number of registers (the "register set"), typically 32 in a modern processorthough some, e.g. SPARC, have as many as 144. A register may be directly addressed with a few bits. In contrast, there are usually millions of words of main memory (RAM), requiring at least twenty bits to specify a memory location. Main memory locations are often specified indirectly, using an {indirect addressing} mode where the actual memory address is held in a register. Registers are fast; typically, two registers can be read and a third written — all in a single cycle. Memory is slower; a single access can require several cycles.

Answered By 0 points N/A #128234

Information about Interrupts and registers

qa-featured
In the aspect of computation, interrupt is a asynchronous signal that indicates the need for attention or otherwise a synchronous event in software that needs change for execution. There are two (2) types of interrupts, hardware interrupt and software interrupt. The first one, hardware interrupt where the processor save it's execution and begin an execution for interrupt handler. And the software interrupt was quite similar to hardware interrupt but it implements instruction to instruction set before it causes an context switch to interrupt. Register stores configuration setting and option like microsoft windows OS. It also provide access counter for profiling system.

Hope this information helps. I am Jennielyn an Information Technology student from Philippines. Hope you read my comment.

Login/Register to Answer

Related Questions