This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Handle Interrupt

Hi. I'm doing my thesis on 8051 and i'm programming interrupt routines in Keil C and simulate them. But I can't use variables inside interrupt routines because they generate unpredictable effects on simulations. Does anybody can help me please?

Parents
  • This could be an exmplanation for ports but
    what is strange is that also register as Accumulator and so on cannot be used inside an interrupt routine: using them make simulation non corresponding to reality. Beside of this I can't use variables inside interrupt routines.
    Can you help me please?

Reply
  • This could be an exmplanation for ports but
    what is strange is that also register as Accumulator and so on cannot be used inside an interrupt routine: using them make simulation non corresponding to reality. Beside of this I can't use variables inside interrupt routines.
    Can you help me please?

Children