What is the difference detween ISR & function call




Answers were Sorted based on User's Feedback



What is the difference detween ISR & function call..

Answer / venkatesh

in isr there is no return value but in function call there
is return value

Is This Answer Correct ?    50 Yes 12 No

What is the difference detween ISR & function call..

Answer / priyavadhanam

isr will be executed only when the system is interrupted
whereas the function call meant for any operations to
perform eventhough when there is no interrupt

Is This Answer Correct ?    29 Yes 3 No

What is the difference detween ISR & function call..

Answer / vasanth

Simply, an ISR (interrupt service routine) can be defined
as a hardware function call. Generally, a CPU must
immediately pay attention to a hardware interrupt call. An
ISR is always given higher priority than a normal function
call.

Is This Answer Correct ?    25 Yes 4 No




What is the difference detween ISR & function call..

Answer / senthilkumar.l

In function call the main program and the funtion have some
relations but in ISR there is no need for this so there is
no need of return value in ISR.

Is This Answer Correct ?    18 Yes 5 No

What is the difference detween ISR & function call..

Answer / kumar

ISR is interrupt service routine. it is seperate code
written some where in the memory. if any interrupt comes
mp checks the priority of the interrupt and service it
meanwhile the content of the progaram counter value is
written in stack after executing isr ,execution transferred
to main program.
FUNCTION CALL is seperate thing. function call is seperate
code that has to be written at the end of function . for
example, in some programs we want to perform one operation
repeatedly at that time we perform that operation by
calling that function instead of writting many times.

Is This Answer Correct ?    9 Yes 1 No

What is the difference detween ISR & function call..

Answer / kent sar

Here are some of the differences:
1. Fuction call has no inputs and return args
2. ISR is triggered by external events
3. ISR may need special interrupt handling upon entry and
exit.
i.e. IRQs masking to enable or disable interupts,
4. Function call and ISR stack frame are different
5. ISR returns with an interupt return (IRET) to
restored not only call stack context but also
interrupt level.

Is This Answer Correct ?    9 Yes 2 No

What is the difference detween ISR & function call..

Answer / mir

dont u think isr is define in particular sector of memory
with return and all task are suspended at this time but
function call is user define with the main program with
return value.?

Is This Answer Correct ?    4 Yes 0 No

What is the difference detween ISR & function call..

Answer / shams

isr : is the priority oriented. all other functions are
waiting ,to complete these routene, whenever we can call.

Is This Answer Correct ?    4 Yes 1 No

What is the difference detween ISR & function call..

Answer / radhika.s

adding to d ans-11 i wud say that....an interrupt has no
relation with the current program or task being performed
by the microcontroller....it is an independent task or
program that is executed whenever the interrupt is invoked.

however, a function is a part of the program that is being
currently executed by the microcontroller, hence it is
local.it can be called only when the microcontroller is
executing the program in which it is contained..or is a
part of.

Is This Answer Correct ?    3 Yes 0 No

What is the difference detween ISR & function call..

Answer / achal

this is with reference to ARM7. The function call is made
when cpu is in User mode(non-priveleged).
But an ISR is called from an Interrupt handler and cpu is
in one of the priveleged modes. Whenever an interrupt
occurs the control moves to a particular address in vector
table.

regards
Achal

Is This Answer Correct ?    3 Yes 2 No

Post New Answer



More 86 Family Interview Questions

What are Pseudo instructions basically?

0 Answers   CDAC,


What are the functions of RIM, SIM, IN?

10 Answers   Wipro, Pappu Sons,


Which type of JMP instruction assembles if the distance is 0020h bytes

0 Answers   CDAC,


What does SD RAM refers to

0 Answers   CDAC,


Why is data bus bi-directional?

11 Answers   TCS, Wipro, College School Exams Tests,






In case of DVD, the speed is referred in terms of n X. Here what does X refers to

0 Answers   CDAC,


What is the difference between 8085 microprocessor and 8086 microprocessor?

0 Answers   Visa,


What are the main differences between the 8085 and 8086 microprocessor?

0 Answers   Zensar,


How do you detect a sequence of "1101" arriving serially from a signal line?

2 Answers  


What is 8251?

0 Answers   CDAC,


Can you name the different types of processor?

0 Answers   IOCL,


What are the different addressing modes in 8085?

25 Answers   Syntel, Rambala Exports,






Categories