• Is Thumb to ARM mode overhead
    Hi all, Consider high priority routines are executing in ARM mode and low priority in Thumb mode. There could be constant switching between ARM and THUMB mode. In this inter-working model is there any...
  • Difference between thumb machine directives
    Hi Experts, What is the key difference between the following directives .thumb .thumb_func .force_thumb .thumb_set What is the exact use case where the above things can to be applied ? Regards, Techguyz...
  • Question about a code snippet on ARM, Thumb state change
    Hi, I find the following code snippet online on ARM state change. Although that whole material looks solid, the second line in the blue code below is puzzling. add R1,PC,#1 ;Load address of SUB_BRANCH...
  • thumb 2 instruction set
    The thumb 2 instruction contains both the instruction sets( best of both worlds) ARM and THUMB. So my question is how does processor come to know that the fetched one is 16 bit size instruction...
  • [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...