• 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,...
  • problem with irq subroutine
    sir iam not find out where I have done the mistake. Iam adding a while loop in main program and I clear the interrupt flag before the reading the values. But now also it is not going to interrupt service...
  • problem with inturrupt subroutine
    sir I have seen u r message,regarding this I made some modifications in my programme.but there is no change.my will stop in while loop.plz some one help me my programme is #include <LPC214X.H> #include...
  • 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...