Why cannot we pass or return any parameters from the Interrupts, please give me an answer taking as a interrupts in the micro controllers.

Showing Answers 1 - 1 of 1 Answers

dharmesh

  • Feb 6th, 2007
 

Actually it is not possible to pass because we cannot predict when the interupt comes but if you store whatever data you want to pass in register just after starting your program (like in R0, R1..) and use this register value when interrupt get call, by this way you can pass.

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions