Back to marketplace

Interrupts

No description yet. This curated deck is ready for daily study.

Total cards: 7•Content version: v4•Public deck•Updated: 8/1/2026

Card preview (7)

#1
Front (Question)

What are Hardware interrupts?

Back (Answer)

Hardware interrupts occur when devices indicate they need attention; for example, mouse button pressed.

#2
Front (Question)

What are Software interrupts?

Back (Answer)

Software interrupts occur when programs detect an error or illegal operation.

#3
Front (Question)

What happens when an interrupt is generated?

Back (Answer)

When an interrupt is generated, the operating system executes an interrupt service routine; so, if the interrupt is high priority, it causes the fetch-execute cycle to be immediately interrupted after the completion of the current instruction

#4
Front (Question)

What is a store interrupted task?

Back (Answer)

• Current instruction finishes its execution • Program counter contents stored in memory • Register contents stored in memory

#5
Front (Question)

What is an Interrupt service routine carried out?

Back (Answer)

• Interrupt number examined and source of interrupt identified • Program counter loaded with start address for interrupt service routine • Interrupt service routine is executed

#6
Front (Question)

What is a continue interrupt service?

Back (Answer)

• Contents of registers from original task restored to memory • Program counter contents from original task restored • Interrupted task continues

#7
Front (Question)

What happens when a hardware or software interrupt is generated?

Back (Answer)

• When a hardware or software interrupt is generated, the processor checks the priority of the interrupt. • If the interrupt is a higher priority than the current process, then it will be stopped at the completion of the current instruction to deal with the interrupt. • Once the interrupt has been dealt with, the interpreted process continues until completion.