Difference between subroutine and interrupt subroutine
Answers
Answered by
3
hi there...!!
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
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
Similar questions