Domanda di colloquio di Qualcomm

What is difference between functions and interupts?

Risposta di colloquio

Anonimo

23 lug 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.