We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
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?
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?
Sounds like it's time to contact technical support. The things you are having trouble with are very basic. And, no one else seems to have trouble with them. Jon
Have you tried it in the Keil uVision simulator?