Pregunta de entrevista de Qualcomm

What is difference between functions and interupts?

Respuesta de la entrevista

Anónimo

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.