General Knowledge Basic General Knowledge Subjective
Mar 19, 2013

What is the difference between interrupt service routine and subroutine ?

Detailed Explanation

Subroutine is a portion of code within a larger program, which performs a specific task and is relatively independent of the remaining code.
Interrupt Service Routines (ISRs) are to handle hardware interrupts. These routines are not independent threads, but more like signals. ISR is called if any thread is suspended by an interrupt

Discussion (0)

No comments yet. Be the first to share your thoughts!

Share Your Thoughts
Feedback