• 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...
  • Why does ARM Branch with Link (BL) instruction considers prefetch?
    Hi, When I read the words below dot line, I don't understand why "R14 is adjusted to allow for the prefetch" Could you explain it to me? Thanks, ....... Branch with Link (BL) writes the old PC into the...
  • 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...
  • Could you explain this assembly line to me?
    Hi, I am learning ARM assembly code. The following is a Thumb disassembly from a short .c file: int main() {       printf("Hardware test, finish testing.\n");       return 0; } 00000000 <main>:    0:...
  • 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...