Browse By Tags

  • M0+ Stack Pointer (PSP/MSP) Clarification

    Background

     I'm working part-time on a Cortex M0+ based SoC converting a very processor-intensive section of C++ code (inner-loop executed 10s of 1000s of times a second & compiles to over 400 instructions using GNU O3) and after almost 3 months of work…

  • Count the number of trailing zeros without clz?

    I am trying to count the number of trailing zeros in floating points without using the clz command. what would be the easiest way to rewrite this code?


    ctz
            RSB      r1,r0,#0
            CMP…