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.
Hellow all, In the uVision 2.0 for 8051, how to determine the exact No. of cycles taken to execute a C Language statement? Given that performane analyzer works only on complete functions, not on a single line basis. e.g. Temp = P2; // Takes (??) cycles Array[Counter] = Temp; // Takes (??) cycles If(SignBit == 1) // Takes (??) cycles Temp = 0xF0; // Takes (??) cycles else Temp = 0x0; // Takes (??) cycles Thanks in advance for your time.
"Given that performane analyzer works only on complete functions, not on a single line basis." I seem to remember that the manual gives the impression that the Performance Analyser can be used on any arbitrary address range, but my experience is - as you say - that it only actually works for complete fucntions! :-(