• ARM mode Thumb mode switching
    Note: This was originally posted on 13th January 2011 at http://forums.arm.com Hi, Let me explain my problem, i come across one situation cmp r1,#0 beq labels_of1 i would like to merge both the instructions...
  • Why program switches from thumb to ARM
    Note: This was originally posted on 24th November 2011 at http://forums.arm.com Hi Everyone I've got beginner question (hope this is right place to do it, if not please direct me). I 've prepared whole...
  • Debug mode is starting in thumb mode
    I am using uVision3 and have an LPC2294. I am just using the default blinky program that comes with the SW. First, Is there any way to read what is in the flash after a programming it using the...
  • Flash programming & Thumb mode
    Hi All, I use the Keil uVersion3 and MCBSTR9 EVAL board to run the FMI example from ST and find it is not working unless you compile the code in thumb-mode instead of ARM-mode. Can anyone give me...
  • Thumb mode and ARM_common_call_via_r0
    Why does the compiler bother with the __ARM_common_call_via_r0 (_r1, _r2, etc.) functions? They end up being a Thumb instruction of "BX Rn", which is shorter than the call to get to this instruction...