Back to marketplace

Interrupts

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

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

Card preview (6)

#1
Front (Question)

What can provide an interrupt?

Back (Answer)

Interrupts can be provided by hardware or software

#2
Front (Question)

When do hardware interrupts occur?

Back (Answer)

Hardware interrupts occur when devices indicate they need attention

#3
Front (Question)

When do software interrupts occur?

Back (Answer)

When programs detect an error or illegal operation

#4
Front (Question)

What happens when an interrupt takes place?

Back (Answer)

• Stores interrupted task • Interrupt service routine is carried out • Then the data is retrieved from the stack and the interrupted task continues

#5
Front (Question)

How does the computer store the interrupted task?

Back (Answer)

-The values of each register and the PC are put onto the system stack

#6
Front (Question)

How does the computer continue the interrupted task?

Back (Answer)

• The contents of the registers and program counter from the original task are restored from the stack they were placed on