Personal tools
You are here: Home Forums M32C 1 Command Time

1 Command Time

Up to M32C

1 Command Time

Posted by genius2005 at July 08. 2008

where  can i get what the time of 1 command is??  how can i calculate  the commands time???

or how much  time  are  commands  in 32c87   ,,  30 mhz

thanks a lot  

Re: 1 Command Time

Posted by FrankL at July 08. 2008

The execution time of every instruction with all possible addressing modes is listed in the M32C Series Software Manual. You can find it on the Renesas homepage.

http://www.renesas.com/fmwk.jsp?cnt=Documentation.jsp&fp=/products/mpumcu/m16c_family/m32c80_series/&title=Documentation&lid=50

But the times given in this manual are m,inimum times, assuming the instruction has been loaded completely to the instruction queue and the bus is free for data transfer.

To calculate execution times is quite difficult because you have to track the instruction queue status in parallel to your software. I would recommend to measure the execution time, and if the routine is time critical to experiment a little by inserting NOPs in order to modify the alignment of instructions to even or odd addresses.

Powered by Ploneboard