• 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...
  • ELF entry point in thumb mode (armv7/aarch32)
    Hi ! We are writing an OS targeting 32 bits ARM platform, where binaries can be compiled in ARM or in Thumb mode. At the moment, to execute a new process, I load the info from an ELF, set lr_usr to the...
  • [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...
  • State of link register on an interrupt from Thumb (ARM7TDMI).
    Hi, If an interrupt occurs when in Thumb state, does the LSB of the link register become 1. Thanks, Revanth