Hello I am using C51 Compiler for AT89C51. How can I Count clock cycle consumption for a Piece of C Code e.g P1=(int)(((sin((2*PI)*(((double) (k++))/MAX))+1)/2)*BYTE); ????????? How many clks it will take ??? ????????