ALLInterview.com :: Home Page KalAajKal.com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
info       Did you received any Funny E-Mails from your Friends and like to share with rest of our friends? Yeah!! you can post that stuff   HERE
Google
 
Categories  >>  Software  >>  Embedded Systems  >>  86 Family
 
 


 

 
 86 Family interview questions  86 Family Interview Questions
 VLSI interview questions  VLSI Interview Questions
 DSP interview questions  DSP Interview Questions
 Embedded Systems AllOther interview questions  Embedded Systems AllOther Interview Questions
Question
What is the difference detween ISR & function call
 Question Submitted By :: Vishnu948923
I also faced this Question!!     Rank Answer Posted By  
 
  Re: What is the difference detween ISR & function call
Answer
# 1
in isr there is no return value but in function call there 
is return value
 
Is This Answer Correct ?    24 Yes 6 No
Venkatesh
 
  Re: What is the difference detween ISR & function call
Answer
# 2
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 ?    7 Yes 4 No
Senthilkumar.l
 
 
 
  Re: What is the difference detween ISR & function call
Answer
# 3
In case of a function call the arguments,local variables and
return address is stored in the stack where as in case of an
ISR, after executing the current instruction the context is
saved with no return value.
 
Is This Answer Correct ?    3 Yes 5 No
SunitaKN
 
  Re: What is the difference detween ISR & function call
Answer
# 4
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 ?    11 Yes 2 No
Priyavadhanam
 
  Re: What is the difference detween ISR & function call
Answer
# 5
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 ?    10 Yes 3 No
Vasanth
 
  Re: What is the difference detween ISR & function call
Answer
# 6
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 ?    0 Yes 1 No
Achal
 
  Re: What is the difference detween ISR & function call
Answer
# 7
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 ?    4 Yes 0 No
Kent Sar
 
  Re: What is the difference detween ISR & function call
Answer
# 8
isr : is the priority oriented. all other functions are 
waiting ,to complete these routene, whenever we can call.
 
Is This Answer Correct ?    2 Yes 0 No
Shams
 
  Re: What is the difference detween ISR & function call
Answer
# 9
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 ?    1 Yes 0 No
Mir
 
  Re: What is the difference detween ISR & function call
Answer
# 10
There is no comparison between function call and an ISR.
Both are used in a completely different paradigm. Hence
comparison doesn't exist.
 
Is This Answer Correct ?    2 Yes 1 No
Ravi A Joshi
 
  Re: What is the difference detween ISR & function call
Answer
# 11
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 ?    3 Yes 0 No
Kumar
 
  Re: What is the difference detween ISR & function call
Answer
# 12
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 ?    1 Yes 0 No
Radhika.s
 
  Re: What is the difference detween ISR & function call
Answer
# 13
ISR has priority associate whereas function call doesn't
because of this stack structure of them are different.
If we look assembly code : function call has RET and ISR have
IRET.
 
Is This Answer Correct ?    1 Yes 0 No
Manohar
 

 
 
 
Other 86 Family Interview Questions
 
  Question Asked @ Answers
 
Design a divide-by-3 sequential circuit with 50% duty circle?  1
Why is data bus bi-directional? Wipro2
Explain the working of a binary counter?  2
In a processor these are 120 instructions . Bits needed to impliment this instructions [a] 6 [b] 7 [c] 10 [d] none Wipro1
load a mul a store t1 load b mul b store t2 mul t2 add t1 then the content in accumulator is Wipro1
Which type of architecture 8085 has? Sasken4
What is the difference detween ISR & function call Bosch13
What is an interrupt?  7
What are tri-state devices and why they are essential in a bus oriented system? Keane-India-Ltd1
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? Wipro2
What is flag, bus?  4
Why are program counter and stack pointer 16-bit registers? HCL1
How many memory locations can be addressed by a microprocessor with 14 address lines?  3
What is the function of accumulator?  2
How do you detect if two 8-bit signals are same? Intel5
What is the difference between MOV and MVI?  8
In 8085 microprocessor READY signal does.which of the following is incorrect statements [a]It is input to the microprocessor [b] It sequences the instructions Wipro2
Return address will be returned by function to Wipro1
What are the functions of RIM, SIM, IN?  5
what do you mean by embedded system? Wipro19
 
For more 86 Family Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com