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.
Looking for alternates for this instruction.
For an assembly language subroutine (which only takes 14 clock cycles), see A fairly quick Count Leading Zeroes for Cortex-M0.