• What is P1, P2, P3 and P4 use in Thumb2 IF block instruction?
    Hi, When I read IT block in Thumb2 instruction, I don't understand the use of P1, P2, P3 and P4. From below pictures, can you tell me what use are P1, P2, P3 and P4? Thanks, This line is especially puzzling...
  • 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...
  • [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...