Qualcomm interview question

What is difference between functions and interupts?

Interview Answer

Anonymous

23 Jul 2012

Give an example of function like add which adds two variables a and b and result is stored in c. Functions always return some value and Interupts never return a value, you can only pass parameters to it. For ex when you have a jump instruction i.e. like JMP C500 it will branch to the address specified to the instruction.