• Forcing a subroutine to be compiled as subroutine and use BX lr
    Hi All We have a problem with a uVision project compiling a routine but not returning using BX lr. It uses B.N plus an address instead when returning - presumably because it is in-lining the subroutine...
  • Forcing a subroutine to be compiled as subroutine and use BX lr
    Hi All We have a problem with a uVision project compiling a routine but not returning using BX lr. It uses B.N plus an address instead when returning - presumably because it is in-lining the subroutine...
  • Nested Subroutines?
    Hello, I was wondering how to use routines in a subroutine (called nested subroutines?). For example, let's say I have MOV r0, #0 start BL firstLoop stop B stop firstLoop ADD r0,...
  • Nested Subroutines?
    Hello, I was wondering how to use routines in a subroutine (called nested subroutines?). For example, let's say I have MOV r0, #0 start BL firstLoop stop B stop firstLoop ADD r0,...
  • Problem regarding SWI subroutine
    Hello, I have keil ARM version 4.12. I develop program of generating software interrupt using “SWI 0x00” instruction in ARM. I observe deassembly widow, my program begins with memory address “0x00000000...