Science, asked by Sambhawna4877, 1 year ago

Difference between subroutine and interrupt subroutine

Answers

Answered by MacTavish343
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
Similar questions