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.
Hi,
Please can you let me know how many clock cycles will the following instruction take in Cortex M3 core?
lsl r0, r1, #12
Will this take 12 clock cycles?
Thanks very much.
Regards, Shaunak
You can find full clock cycle information for the different ARM cores on the ARM site.
But with a barrel shifter, the number of shifts will not affect the number of cycles.