This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

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”. When SWI instruction execute it load the PC content with “0x000000008” where my assembly program is already reside and its execute again.

Now I execute the same program in keil3. In that when SWI is execute it jump to location “LDR PC, SWI_Addr” in start up file. I think same think should happen in keil 4.12.
Is it require any setting in software or any change in startup file?