Browse By Tags

Sorry, but there are no more tags available to filter with.
  • "mov" vs "adds ... #0" (cortex M0)

    I've noticed that arm gcc, when compiling code for Cortex-M0 (at least) seems to generate instructions:

       adds r0, r2, #0

    Where I'm pretty sure that it the same as:

       movs r0, r2

    In fact, I can disassemble a relatively substantial program and not…