• Indirect branch and function attributes
    Hi to everyone, i am trying to use pointer functions to do indirect branch in C code, i am working with an NXP ARM LPC2478 This is my code: // in internal flash unsigned char* MD5BuffSE...
  • function call in branch instruction
    Hello, i'm using a inline assembler instruction like: void my_svc_handler(unsigned int * svc_args) { ..... } void SVC_Handler(void) { __asm{ ....... B my_svc_handler } The problem...
  • Branching to __main
    Hey guys, does someone knows why a branching to __main from the reset handler can causes the program to stop execution at a breakpoint. It branches fine to main but the __main scatter initialisation...
  • Tags for Branch
    Going through the tutorial, my code: AREA MyFirstExample, Code, ReadOnly ENTRY MOV r0,#4 MOV r1,#5 ADD r2,r0,r1 S B S END When I build I get the following error: MyFirstExample...
  • BRANCHING INSTRUCTION
    Dear All, I am trying to add a boot loader for my LPC2478 based application. I want to conditionally Branch to my main code at 0x1000 from the boot loader code. When i tried from Startup.s as below...