• 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...
  • 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...
  • Assembler Branch instruction?
    b .+2 B is Branch instruction but I don not understant what is .+2 and how many cycle use this instruciton. I was looking for a book, but we can not tell anything nicely, you can recommend something...
  • How to enforce specific instruction encoding?
  • 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...