• [ELF/Thumb] Is it possible to create library procedures in Thumb-mode only ?
    Greetings, In my journey to learn ARM assembly using Android (Linux) systems, I'm currently playing with Thumb mode. I'm currently testing if it is possible to write (ELF) library procedures entirely...
  • [Cortex-M0] Thumb mode & code size
    Hi, I'm somewhat confused with the Thumb mode code size.  My understanding is compiling with ARM mode will generate 32-bit instructions and compiling with Thumb mode will generate 16-bit instructions...
  • Cortex-M0 Thumb-2 instruction: Is this instruction valid?
    STM     r0!, {} I have looked at Thumb2 instruction set web but I can't find the behaviour of STM command if the reglist is empty. Thanks in advance.
  • Instruction width selection - forward/external reference
    Hi, I am learning the Thumb 2 instruction set and at the moment I am trying to understand when to use the instruction width specifier. e.g.: ldmia.w sp!,{r3,lr} I understand sometimes it is necessary...