Interrupt
Interrupt
Interrupt
تقرير مقدم
الى قسم الحاسبات من متطلبات للحصول على درجة النهائي في مادة
معمارية الحاسوب
باشراف
Dr. Assmaa A. Fahad.
اعداد
اسيا عكاب يوسف زغير
2020\2019
Introduction
1-External Interrupts
• I/O devices tell the CPU that an I/O request has completed by sending
an interrupt signal to the processor.
• I/O errors may also generate an interrupt.
• Most computers have a timer which interrupts the CPU every so many
Milliseconds.
2-Internal Interrupts
• When the hardware detects that the program is doing something
wrong, it will usually generate an interrupt.
– Arithmetic error
- Invalid Instruction
– Addressing error - Hardware malfunction
– Page fault
- Debugging
• A Page Fault interrupt is not the result of a program error, but it does
require the operating system to get control.
• Internal interrupts are sometimes called exceptions
• Internal interrupts are signaled during an instruction.
• Execution of an instruction can raise an arithmetic error interrupt.
• Page faults can be created during the instruction fetch, operand fetch
or operand store or all of the above.
.
Interrupt Service Routines
end
source
www.embedded.com
www.geeksforgeeks.org
www.quora.com