SME
Embedded Systems · Problem type

What happens on an interrupt

Use this for “A timer matches its compare value. Put in order what the CPU does until the main program resumes.”

Put in order

Put the steps from the timer match to the return to the main program in order.
1
?
2
?
3
?
4
?
5
?
6
?

Assumptions

•
The interrupt is enabled and no other interrupt of higher priority is running.
•
The CPU checks for interrupts between instructions, never in the middle of one.
•
The handler’s address comes from the interrupt vector table.
Topic check
See what you know: 5 questions on this topic
New questions each time. Pass to mark it complete.

Related lessons

© 2026 SME. All rights reserved.