xpress_embedo
Advanced Member level 4
- Joined
- Jul 5, 2011
- Messages
- 1,154
- Helped
- 161
- Reputation
- 396
- Reaction score
- 189
- Trophy points
- 1,353
- Location
- India
- Activity points
- 10,591
Hello!! Everyone
Fews Days back i had an interview, in that they asked me a question.
How to differentiate between an ISR and Normal Function written in Assembly Language?
To which i replied that in PIC Micro-Controllers we use retfie instruction to return from interrupt while in normal we use return instruction
I dont have much idea about assembly language, but wants to know basics.
What is interrupt latency time???
I think it is the time taken to reach ISR when interrupt has occured.
In PIC it is 3 Instruction Cycles Long why??
Apart from that can anyone provide me some information regading how interrupts are handled internally by the compiler and assembler, i.e what will happens when controller gets interrupted, how it reaches particular address and what will happens if someone calls another function in interrupt.
Fews Days back i had an interview, in that they asked me a question.
How to differentiate between an ISR and Normal Function written in Assembly Language?
To which i replied that in PIC Micro-Controllers we use retfie instruction to return from interrupt while in normal we use return instruction
I dont have much idea about assembly language, but wants to know basics.
What is interrupt latency time???
I think it is the time taken to reach ISR when interrupt has occured.
In PIC it is 3 Instruction Cycles Long why??
Apart from that can anyone provide me some information regading how interrupts are handled internally by the compiler and assembler, i.e what will happens when controller gets interrupted, how it reaches particular address and what will happens if someone calls another function in interrupt.