Explain what is the difference between isr & function call?



Explain what is the difference between isr & function call?..

Answer / Siddharth Singh

ISR (Interrupt Service Routine) and Function Call are both mechanisms used to handle subroutines in programming, but they differ in their context and usage.nnFunction Call: A normal function call is initiated by the programmer when a specific function is needed during the execution of the main program. The control flow is transferred to the function and upon return, it resumes from where it left off. Function calls can be nested and are not limited in number.nnISR: Interrupt Service Routines (ISR) are specialized functions that handle interrupt requests. Unlike normal function calls, ISRs are triggered by hardware or software events outside the main program flow. They have a fixed execution order (FIFO - First In, First Out) and are limited in number (one for each interrupt source).

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More 86 Family Interview Questions

In the instruction FADD, What does F stands for

1 Answers   CDAC,


Give the truth table for a Half Adder, Give a gate level implementation of the same?

4 Answers   Infosys, Wipro,


Write a program that will store the contents of an accumulator and flag register at locations 2000h and 2001h.

1 Answers  


Can single bit of a port be accessed in 8051?

1 Answers  


What are the different types of assemblers used?

1 Answers  


Introduction of 8051 microcontroller architecture?

1 Answers  


Which type of architecture 8085 has?

6 Answers   DRDO, Sasken, Wipro,


Why is the address bus in the 8085 tri-stated and unidirectional?

1 Answers  


What is instruction cycle?

1 Answers  


What is the purpose of a buffer register in reference to 8085?

1 Answers  


Which is the tool used to connect the user and the computer?

1 Answers  


Suppose you have a combinational circuit between two registers driven by a clock. What will you do if the delay of the combinational circuit is greater than your clock signal?

3 Answers   Wipro,


Categories