thannara123
Advanced Member level 5
Hello ,
Any way to find out the machine cycles taken each instruction in written in C (Keil) ?
thanks
Any way to find out the machine cycles taken each instruction in written in C (Keil) ?
thanks
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
9 unsigned int i;
10 for (i=0; i<30000; i++)
\ mydelay:
\ 00000000 0x.... LDR R0,??DataTable1 ;; 0x7530
11 {
12 __no_operation();
\ ??mydelay_0:
\ 00000002 0x46C0 Nop
13 }
\ 00000004 0x1E40 SUBS R0,R0,#+1
\ 00000006 0xD1FC BNE ??mydelay_0
14 }
\ 00000008 0x4770 BX LR ;; return
There is a stopwatch at the lower right corner of uvision
View attachment 84155
There is also a cycle counter in the left side panel
View attachment 84156
There is a stopwatch at the lower right corner of uvision
View attachment 84155
There is also a cycle counter in the left side panel
View attachment 84156