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

Regrading Listing file

Hi,
Iam interested in getting the number of clock cycles taken by each instruction in the listing file (LST file).
Is there any option to do this with c51?.
(or)
Is there any other way to get the number of clock cycles for each instruction of a C program.

I did it for COSMIC ST7 compiler.
Looking forward for your reply.
Thank you.

Regards,
sivakumar

Parents
  • where can i get the timings for each opcode
    In this funny little document called the datasheet.

    If you are using a '51 derivative where the instruction cycles are standard (most derivatives), you can find it in "the bible" chapter 2 - remember to look in the datasheet for how may clock cycles to an instruction cycle.

    Erik

Reply
  • where can i get the timings for each opcode
    In this funny little document called the datasheet.

    If you are using a '51 derivative where the instruction cycles are standard (most derivatives), you can find it in "the bible" chapter 2 - remember to look in the datasheet for how may clock cycles to an instruction cycle.

    Erik

Children